Network Management Integration Plugin ( v0.3.9a Build 129 )
Moderators: Developers, Moderators
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Thanks Phalek. I had already changed the urls in the wsdl files to my own server (that's why you can see getSmokePing,pl calling my server in the access log above). The GET requests seem to respond ok, but the POSTs fail. No errors are logged in error_log and I have switched error_log on in php.ini, but still no errors there either.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
what happens if you call that "webservice.php" file directly using your browser ?
Also, did oyu setup a webservice password or do you not see the NMID tab in the Settings page at all ?
Also, did oyu setup a webservice password or do you not see the NMID tab in the Settings page at all ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Network Management Integration Plugin ( v0.3.9a Build 12
I just get a blank page. Should I be adding something on the end of that file in the url?phalek wrote:what happens if you call that "webservice.php" file directly using your browser ?
Unfortunately I still can't seen the NMID tab in Settings, and I have installed the patched html_tree from the site at:phalek wrote:Also, did oyu setup a webservice password or do you not see the NMID tab in the Settings page at all ?
http://redmine.nmid-plugins.de/attachme ... _PIA28.tgz
I'm starting to get confused about this Do I need to install v03_graph_087g_PIA28.tgz as well?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Ahhh... Did you install all of the following plugins:
nmid
nmidSmokeping
nmidWebService
? If not, install them and you should see the nmid tab. All of them are needed for nmidSMokeping to work.
Also, nmidSmokeping will create the target section for your smokeping config. The files are stored in the tmp dir (/tmp) once you added a device to it (NMID section -> Configure device ). But of course you're going to see this after the plugin(s) are installed and configured correctly.
nmid
nmidSmokeping
nmidWebService
? If not, install them and you should see the nmid tab. All of them are needed for nmidSMokeping to work.
Also, nmidSmokeping will create the target section for your smokeping config. The files are stored in the tmp dir (/tmp) once you added a device to it (NMID section -> Configure device ). But of course you're going to see this after the plugin(s) are installed and configured correctly.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Thanks for sticking with me on this. Yes they're all installed. These are the contents of my plugins directory.
And in config.php I have :
Code: Select all
[root@www plugins]# pwd
/usr/share/cacti/plugins
[root@www plugins]# ls
discovery flowview index.php nmid nmidSmokeping nmidWebService thold weathermap
[root@www plugins]# ls -l nmid*
nmid:
total 72
-rwxrw-rw- 1 cacti cacti 28 Jan 1 23:39 config.php
-rw-r--r-- 1 cacti cacti 5469 Aug 25 2009 graph_view.php
drwxr-xr-x 2 cacti cacti 4096 Jun 29 2009 images
drwxr-xr-x 3 cacti cacti 4096 Jun 29 2009 include
-rw-r--r-- 1 cacti cacti 44 Jun 29 2009 index.php
drwxr-xr-x 4 cacti cacti 4096 Jun 29 2009 lib
-rw-r--r-- 1 cacti cacti 15515 Jun 29 2009 LICENSE
-rw-r--r-- 1 cacti cacti 1177 Jun 29 2009 nmid_export.php
-rw-r--r-- 1 cacti cacti 921 Jun 29 2009 nmid.php
-rw-r--r-- 1 cacti cacti 4519 Jun 29 2009 nmid_update.php
-rw-r--r-- 1 cacti cacti 3667 Jun 29 2009 README
-rw-r--r-- 1 cacti cacti 7892 Jun 29 2009 setup.php
nmidSmokeping:
total 32
-rw-r--r-- 1 cacti cacti 44 Jun 29 2009 index.php
-rw-r--r-- 1 cacti cacti 28219 Jul 30 16:42 setup.php
nmidWebService:
total 256
-rw-r--r-- 1 cacti cacti 1387 Aug 15 07:43 basic_functions.php
-rwxr-xr-x 1 cacti cacti 894 Aug 15 07:43 create_image.php
drwxr-xr-x 2 cacti cacti 4096 Aug 15 07:43 dbs2php
drwxr-xr-x 3 cacti cacti 4096 Aug 15 07:43 dynamic_invocation
-rw-r--r-- 1 cacti cacti 1871 Aug 15 07:43 graph_functions.php
-rw-r--r-- 1 cacti cacti 44 Aug 15 07:43 index.php
drwxr-xr-x 2 cacti cacti 4096 Aug 15 07:07 lib
-rw-r--r-- 1 cacti cacti 4773 Aug 15 07:43 nmidCreatePDF_functions.php
drwxr-xr-x 2 cacti cacti 4096 Aug 15 07:43 scripts
-rw-r--r-- 1 cacti cacti 2369 Aug 15 07:43 setup.php
-rw-r--r-- 1 cacti cacti 4292 Aug 15 07:43 smokeping_functions.php
-rw-r--r-- 1 cacti cacti 1353 Aug 15 07:43 thold_functions.php
drwxrwxr-x 2 cacti cacti 4096 Dec 15 23:31 tmp
-rw-r--r-- 1 cacti cacti 4962 Aug 15 07:43 user_functions.php
-rw-r--r-- 1 cacti cacti 14687 Aug 15 07:43 webservice_new.php
-rw-r--r-- 1 cacti cacti 15919 Dec 15 21:47 webservice.php
-rw-r--r-- 1 cacti cacti 9959 Jan 1 20:28 webservice_php.php
-rw-r--r-- 1 cacti cacti 15919 Aug 15 07:43 webservice_re.php
-rw-r--r-- 1 cacti cacti 14921 Jan 1 20:28 webservice_re.wsdl
-rw-r--r-- 1 cacti cacti 21803 Jan 1 20:27 webservice.wsdl
-rw-r--r-- 1 cacti cacti 15020 Jan 1 20:27 webservice_wso.php
-rw-r--r-- 1 cacti cacti 16068 Dec 15 23:21 webservice_wso.wsdl
drwxr-xr-x 2 cacti cacti 4096 Aug 15 07:43 wsdl
drwxr-xr-x 2 cacti cacti 4096 Aug 15 07:43 wsdl2php
-rw-r--r-- 1 cacti cacti 5581 Dec 15 19:02 wsdl2php.php
-rw-r--r-- 1 cacti cacti 6402 Dec 15 19:02 wsf.php
-rw-r--r-- 1 cacti cacti 25958 Dec 15 19:02 wsf_wsdl.php
drwxr-xr-x 6 cacti cacti 4096 Aug 15 07:43 wso2
Code: Select all
/* load up old style plugins here */
$plugins = array();
$plugins[] = 'weathermap';
$plugins[] = 'flowview';
$plugins[] = 'thold';
$plugins[] = 'discovery';
$plugins[] = 'nmid';
$plugins[] = 'nmidSmokeping';
$plugins[] = 'nmidWebService';
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Odd,
If you call that url, you should be getting something like the following:
Do you have the php-soap module installed ?
If you call that url, you should be getting something like the following:
Code: Select all
SOAP-ENV:ServerBad Request. Can't find HTTP_RAW_POST_DATA
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Yes I do.phalek wrote:Odd,
If you call that url, you should be getting something like the following:Do you have the php-soap module installed ?Code: Select all
SOAP-ENV:ServerBad Request. Can't find HTTP_RAW_POST_DATA
Code: Select all
[root@www cgi-bin]# php -m | grep soap
soap
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
yes, that's fine.
Does the plugin management page show the plugins as installed and enabled ? this is really odd ...
Does the plugin management page show the plugins as installed and enabled ? this is really odd ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Network Management Integration Plugin ( v0.3.9a Build 12
No it only shows these ones:
- Attachments
-
- Screenshot.png (36.24 KiB) Viewed 6054 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Just read an earlier post from you:
With PIA 2.8, you do not need to have the plugins array in config.php any more. you can comment it out and enable/install PIA 1.x and 2.x plugins from the plugin management page.
What you could try is to change the load order. Especially put thold at the last place to load as it does contain an error and prevents other plugins to work correctly ...
With PIA 2.8, you do not need to have the plugins array in config.php any more. you can comment it out and enable/install PIA 1.x and 2.x plugins from the plugin management page.
What you could try is to change the load order. Especially put thold at the last place to load as it does contain an error and prevents other plugins to work correctly ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Brilliant! I commented out all the plugins in config.php and then they all displayed in plugin management and I was able to install the nmid plugins there. Thanks for all your help.
Ed.
Ed.
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Hi Phalek,
Sorry to bother you again. Could you help me out once more? I'm not why I don't see any smokeping graphs in cacti.
If I run getSmokePingPath.pl from the command I get this:
These are my settings in getSmokePingPath.pl:
Sorry to bother you again. Could you help me out once more? I'm not why I don't see any smokeping graphs in cacti.
If I run getSmokePingPath.pl from the command I get this:
Code: Select all
[root@www cgi-bin]# ./getSmokePingPath.pl
Content-type: image/png
Code: Select all
my $webservice_password = 'mypass';
my $webservice_url = 'http://www.xxx.org/cacti/plugins/nmidWebService/webservice.php?wsdl';
my $tmp_dir = '/tmp/';
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Download the createSmokePingConfig.pl script and confgure it to fit your installation.
Now let's assume you have your smokeping installation at /opt/smokeping.
Go on and change your smokeping config and remove everything from the target section.
Then rename the config to e.g. "config.header".
The script will take that file ( /opt/smokeping/etc/config.header ) and add the target section which it retrieves from the webservice.
Restart your smokeping installation.
The reason for this is that the path from the smokeping tool needs to match the path from Cacti. In your case for the example you provide the paths are:
Cacti: Default Tree -> cnn.com
Smokeping: Default_Tree.cnn.com
Now let's assume you have your smokeping installation at /opt/smokeping.
Go on and change your smokeping config and remove everything from the target section.
Then rename the config to e.g. "config.header".
The script will take that file ( /opt/smokeping/etc/config.header ) and add the target section which it retrieves from the webservice.
Restart your smokeping installation.
The reason for this is that the path from the smokeping tool needs to match the path from Cacti. In your case for the example you provide the paths are:
Cacti: Default Tree -> cnn.com
Smokeping: Default_Tree.cnn.com
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: Network Management Integration Plugin ( v0.3.9a Build 12
Thanks. I followed your instructions and after running createSmokePingConfig.pl, it did append some hosts from the default tree although not the cnn.com example. I'm not sure if that was because I selected the proxy server instead of my web server.
Now I have new graphs headed under the default tree in smokeping, but still nowhere to be see in cacti. Also, is the createSmokePingConfig.pl supposed to be run manually everytime we want to add smokeping graphs to cacti, or was that just a workaround?
Thanks for your help.
Ed.
Now I have new graphs headed under the default tree in smokeping, but still nowhere to be see in cacti. Also, is the createSmokePingConfig.pl supposed to be run manually everytime we want to add smokeping graphs to cacti, or was that just a workaround?
Thanks for your help.
Ed.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Network Management Integration Plugin ( v0.3.9a Build 12
cnn.com is probably skipped because of the extra dot in there. Rename the device to something else replacing the dots '.' .
Did you download and extract the replacement files for nmidSmokeping to work ?
You should see the extra graphs at the end of the Cacti tree. Can you provide a screenshot of that ?
Did you download and extract the replacement files for nmidSmokeping to work ?
You should see the extra graphs at the end of the Cacti tree. Can you provide a screenshot of that ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Who is online
Users browsing this forum: No registered users and 1 guest