Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Mar 24, 2017 12:57 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 500 posts ]  Go to page Previous  1 ... 30, 31, 32, 33, 34  Next
Author Message
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 9:43 am 
Offline

Joined: Wed Mar 09, 2011 5:52 pm
Posts: 8
I checked in /tmp and I do have a config file "smokeping_nmid_spserver1_config.txt" that looks to be generated correctly. So I need append it to my smokeping config? Is that supposed to be a manual step?

In the NMID plugin settings..

Smokeping URL
This is the relative URL used to connect to Smokeping . (ex: /cgi-bin/smokeping.cgi).


I set it exactly to that '/cgi-bin/smokeping.cgi' and moved a copy of smokeping.cgi (from /usr/local/smokeping/htdocs/) to /var/www/cgi-bin. Is that correct? Or should I set that URL to be http://myserver.net/smokeping/? Also, what should the permissions be for smokeping.cgi?


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 9:52 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
You can auomate thie config creation by running a cronjob that will use the top part of your config (e.g. in a config.header file) and the smokeping configuration created by nmidSmokeping to create a complete smokeping config file. See the createSmokePingConfig.pl.txt file from http://redmine.nmid-plugins.de/projects ... ping/files, which uses the nmidWebService plugin and a config.header file to create a complete smokeping config.

For the settings. E.g. my smokeping installation can be reached at:

Code:
http://cacti.network-outsourcing.de/smokeping/smokeping.cgi


so in my case this setting needs to be /smokeping/smokeping.cgi while the smokeping server needs to be set to http://cacti.network-outsourcing.de/

For the permissions: You need to have a running smokeping installation which you can reach using your browser. If that works, then your permissions are fine.

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 12:04 pm 
Offline

Joined: Wed Mar 09, 2011 5:52 pm
Posts: 8
I really appreciate your time helping me get this going. My hosts are now graphing in smokeping, however I get a "broken image/url" when trying to view the graph in Cacti.

This is the URL for the graph image that is NOT working:

Code:
http://myserver.net/cgi-bin/getSmokePingPath.pl?start=1299776062&end=1299862462&target=&server=nmid_spserver2&graphtype=detail


When I enable "debugging" I get this:

Code:
Url: http://myserver.net/smokeping/smokeping.cgi
UID:
PWD:
Content-type: image/png


I also noticed that for the "link to smokeping" that the URL is missing the target text:

Code:
http://myserver.net/smokeping/smokeping.cgi?target=


So of course I am diving back into my configurations. I have my nmidSettings in Cacti exactly as you described in your previous post. I've tripled check my .wsdl file as well, and it all looks correct.

EDIT: After uninstalling / installing nmidSmokePing plugin the apache errors have gone away (I noticed it wasn't using some changes I had saved). Still having all the above problems still though.


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 2:07 pm 
Offline
Cacti User

Joined: Thu Jan 03, 2008 8:17 am
Posts: 62
Hey all ,
I add NMID plugin with sucess, but had problem? (Parse error: syntax error, unexpected T_STRING, expecting ')' in /var/www/html/lib/html_tree.php on line 795), follow documentation NMID, someone can help me ?? wait reply! Thanks!


Attachments:
NMID.png
NMID.png [ 71.73 KiB | Viewed 5718 times ]
Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 3:12 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
jmacias718 wrote:
I also noticed that for the "link to smokeping" that the URL is missing the target text:

Code:
http://myserver.net/smokeping/smokeping.cgi?target=




The target info should be stored in the host table, can you check if that device does contain this information ?

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 3:13 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
williamsant wrote:
Hey all ,
I add NMID plugin with sucess, but had problem? (Parse error: syntax error, unexpected T_STRING, expecting ')' in /var/www/html/lib/html_tree.php on line 795), follow documentation NMID, someone can help me ?? wait reply! Thanks!


Did you manually add the required code to that file, or did you use a replacement file ? Also, the required changes are already included in PIA 2.9

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 3:25 pm 
Offline

Joined: Wed Mar 09, 2011 5:52 pm
Posts: 8
I guess after I did my last uninstall / reinstall, I had to go back into the Inventory settings and reselect the cacti server from the drop-down list. It is all working now. Thank you so much phalek!


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 3:44 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
I know, it's quite complicated to get this up and running ... *sigh*

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Mar 11, 2011 4:39 pm 
Offline

Joined: Wed Mar 09, 2011 5:52 pm
Posts: 8
There are definetly a lot of room for error in the process, but the end result is worth it. :D


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Wed Mar 16, 2011 10:35 am 
Offline
Cacti User

Joined: Thu Jan 03, 2008 8:17 am
Posts: 62
HEY,
My file setup.php is problem in NFTracker, follow print screen, someone can help me? Someone already resolved this problem?? wait reply, thanks.


Attachments:
File comment: Print screen (console and setup.php file)
NMID2.png
NMID2.png [ 72.83 KiB | Viewed 5684 times ]
Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Wed Mar 16, 2011 10:40 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
Did you check the table "host_snmp_cache" if it contains any data for that specific host ?

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Apr 15, 2011 12:44 am 
Offline

Joined: Fri Apr 08, 2011 6:46 am
Posts: 1
Hi,

I was wondering if i could ask you for the netflow tracker plugin?
We are running fluke netflow tracker here, but also running cacti,
and i'd like very much to have that netflow information present in cacti,
as one of the screen shots you've published shows.
(by here i mean, our website is www.rmit.edu.au, so you know where i am from)

thanks very much

Andrew


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Apr 15, 2011 1:14 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
Here you go:

http://www.network-outsourcing.de/uploa ... racker.zip

Be aware, that I have created this plugin about 2 years ago, so it may, or may not work.

You also need the ChartDirector module install from here: http://www.advsofteng.com/ this one is responsible for creating the actual chart.

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Fri Jun 17, 2011 9:06 am 
Offline

Joined: Fri Jun 17, 2011 8:47 am
Posts: 2
hi friends! i have problem

when i start script
Code:
./getSmokePingPath.pl

i have error
Code:
Url: Error: Invalid Server : <br>UID: <br>PWD: <br>Content-type: image/png


log apache
Code:
[Fri Jun 17 19:32:28 2011] [error] [client xx.xx.xx.xx] PHP Fatal error:  Call to undefined function readPluginStatus() in /var/www/xxxxx/plugins/nmidSmokeping/setup.php on line 363, referer: http://xxxx/graph_view.php?action=tree&tree_id=1&leaf_id=7



but when i started
Code:
./getGraph.pl

perfect work
Code:
Content-type: image/png

�PNG

IHDR�l��bKGD������� IDATx���y\���?�+ew4���L+fB����d�`b��DQ$K��X��,d�A���LS��Rd�B%K��;�w>����]��l^χG}��������y��>G-''��OEE����>i/_�,..��U����|�>MG%�4��n`U


i install
Code:
cacti 0.8.7g
apply patch Plugin Architecture cacti-plugin-0.8.7g-PA-v2.8.tar.gz
install plugins
nmid 0.3.9a
nmidSmokeping 0.5
nmidWeb2  0.3
nmidWebService 0.9b


edit getSmokePingPath.pl
Code:
### START OF WEB SERVCE SETTINGS ###
my $webservice_password = 'qwerty';
my $webservice_url = 'http://xxx/plugins/nmidWebService/webservice.php?wsdl';
my $tmp_dir = '/tmp/';
### END OF WEB SERVCE SETTINGS ###


replace in files
Code:
webservice.wsdl
webservice_re.wsdl
webservice_wso.wsdl

cacti.network-outsourcing.de to my local server


install soap
Code:
mon01 cgi-bin # php -m | grep soap
soap
mon01 cgi-bin #


i don't know what problem
help me


Top
 Profile  
 
 Post subject: Re: Network Management Integration Plugin ( v0.3.9a Build 12
PostPosted: Wed Jun 22, 2011 10:01 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2564
Location: Kressbronn, Germany
Hi

Sorry for my late reply.

Can you send me a copy of your "getSmokePingPath.pl" script ( just comment out the password, but leave everything else as it is ) ?

Either via PM or to support @ nmid-plugins.de

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 500 posts ]  Go to page Previous  1 ... 30, 31, 32, 33, 34  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group