Network Management Integration Plugin ( v0.3.9a Build 129 )
Moderators: Developers, Moderators
nmidPhpip does not work
Hi Phalek!
I am trying to install nmidPhpip but I can´t get it work. I´ve installed only nmidPhpip plugin through global.php
I can create a CIDR, a Prefix but when I click at "NMID php IP" it doesn´t show me the tree.
Could you help me?
PS: see my cacti at the images
Regards,
[/img]
I am trying to install nmidPhpip but I can´t get it work. I´ve installed only nmidPhpip plugin through global.php
I can create a CIDR, a Prefix but when I click at "NMID php IP" it doesn´t show me the tree.
Could you help me?
PS: see my cacti at the images
Regards,
[/img]
- Attachments
-
- ScreenShot071.jpg (50.33 KiB) Viewed 6378 times
-
- ScreenShot072.jpg (27.3 KiB) Viewed 6378 times
doesn´t show the tree
Hi Phalek!
I installed nmid and now I can see a folder icon, but does not show the tree. I do have some CIDRs configured as you can see, but it onlys appear the cacti tree.
It also does not show a tab for NMID.
help me.
Regards,
I installed nmid and now I can see a folder icon, but does not show the tree. I do have some CIDRs configured as you can see, but it onlys appear the cacti tree.
It also does not show a tab for NMID.
help me.
Regards,
- Attachments
-
- ScreenShot074.jpg (45.34 KiB) Viewed 6120 times
-
- ScreenShot073.jpg (50.91 KiB) Viewed 6120 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Ok, I guess I found the error.
Please replace the get_data.php file with the one in this tar archive. Please report back if it works, so I can include it in the main distribution.
Please replace the get_data.php file with the one in this tar archive. Please report back if it works, so I can include it in the main distribution.
- Attachments
-
- get_data.php.tar.gz
- (1.3 KiB) Downloaded 235 times
Almost :-)
Hi Phalek!
It almost work. It shows now my entire graph tree, while it should show only my CIDR tree. Also when I clic at a network, it generates some error. See attached.
Thank you for your help.
Regards,
Fernando
It almost work. It shows now my entire graph tree, while it should show only my CIDR tree. Also when I clic at a network, it generates some error. See attached.
Thank you for your help.
Regards,
Fernando
- Attachments
-
- ScreenShot075.jpg (141.96 KiB) Viewed 6065 times
-
- ScreenShot076.jpg (113.01 KiB) Viewed 6065 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
seems like you're the first one to use the DNS reolve option
here's an updated display.php file.
How do you want to have the cacti tree thing changed ? only display tree entries that have IP subnet childrens ?
here's an updated display.php file.
How do you want to have the cacti tree thing changed ? only display tree entries that have IP subnet childrens ?
- Attachments
-
- display.php.tar.gz
- (9.24 KiB) Downloaded 262 times
nmidPhpip
Phalek,
It works. Thank you.
For the tree, I would like to have only the CIRDs that I included + description, and not the trees of my configured devices. Take a look at the attachment. What mens green and red symbols that I assigned?
Also, is it possible to check each ip it it is alive or not? Just like Ipplan does?
Take a look at this:
http://iptrack.sourceforge.net/document ... oller.html
If you could, just insert a column a with the following register:
D polled today
W polled within last week
M last month
Y last year
Regards,
Fernando
It works. Thank you.
For the tree, I would like to have only the CIRDs that I included + description, and not the trees of my configured devices. Take a look at the attachment. What mens green and red symbols that I assigned?
Also, is it possible to check each ip it it is alive or not? Just like Ipplan does?
Take a look at this:
http://iptrack.sourceforge.net/document ... oller.html
If you could, just insert a column a with the following register:
D polled today
W polled within last week
M last month
Y last year
Regards,
Fernando
- Attachments
-
- ScreenShot078.jpg (98.65 KiB) Viewed 6050 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I guess it is easier to create a plugin for iptrack than to add these functionalities to phpIP. I'll have a look at it anyway, but it will take some time, as I don't have that much (time) at the moment ...
For the Tree stuff: I'll change that this week ( can be optionally enabled/disabled in the settings tab then )
For the Tree stuff: I'll change that this week ( can be optionally enabled/disabled in the settings tab then )
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I'm currently updating the nmid web-page with install instructions and download links for the latest nmid version.
Feel free to have a look around :
http://www.urban-software.de/fcaps/faul ... /nmid.html
Feel free to have a look around :
http://www.urban-software.de/fcaps/faul ... /nmid.html
Errors and Parser - Poller
Hi Phalek,
I found some errors. Here they are:
- When I try to set the mask to all IPs in a CIDR using set default, it does not work.
- When I try to print report, it shows me the error attached.
- When I see any of my graphs, it always shows me "Fatal error: Call to undefined function do_hook_funcion() in /home/cacti/cacti-0.8.7b/lib/html_tree.php on line 797 ". Also see attached.
I also did a parser using Nmap to upload some fields "automatically". Bellow are the fields:
Device Model -> Vendor
Device Manufacturer -> Mac-address
Device Custom 1 -> date and time of the last poller
See example attached and also the script parser.
To improve it, it would be good to display the date and time at the field Device Custom 1 like:
green -> when it was polled at the same day
yellow -> when it was polled at the last monty but not at the day
red -> when it was polled some day but not at the last month.
Could you help me with this?
To get the script working you will have to edit with your parameters, install perl modules Nmap::Parser, XML::Twig and DBI and run insert at crontab.
Also when I try to search any mac-addres selecting search->device manufacturer
it shows me the error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/cacti/cacti-0.8.7b/plugins/nmidPhpip/search.php on line 83
Also attached.
Once more, thank you for your help and congratulations for the great job.
Regards,
I found some errors. Here they are:
- When I try to set the mask to all IPs in a CIDR using set default, it does not work.
- When I try to print report, it shows me the error attached.
- When I see any of my graphs, it always shows me "Fatal error: Call to undefined function do_hook_funcion() in /home/cacti/cacti-0.8.7b/lib/html_tree.php on line 797 ". Also see attached.
I also did a parser using Nmap to upload some fields "automatically". Bellow are the fields:
Device Model -> Vendor
Device Manufacturer -> Mac-address
Device Custom 1 -> date and time of the last poller
See example attached and also the script parser.
To improve it, it would be good to display the date and time at the field Device Custom 1 like:
green -> when it was polled at the same day
yellow -> when it was polled at the last monty but not at the day
red -> when it was polled some day but not at the last month.
Could you help me with this?
To get the script working you will have to edit with your parameters, install perl modules Nmap::Parser, XML::Twig and DBI and run insert at crontab.
Also when I try to search any mac-addres selecting search->device manufacturer
it shows me the error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/cacti/cacti-0.8.7b/plugins/nmidPhpip/search.php on line 83
Also attached.
Once more, thank you for your help and congratulations for the great job.
Regards,
- Attachments
-
- search_error.jpg (25.35 KiB) Viewed 5873 times
-
- example.jpg (68.14 KiB) Viewed 5876 times
-
- graph_error.jpg (41.5 KiB) Viewed 5873 times
-
- report_error.jpg (78.5 KiB) Viewed 5873 times
-
- update_DB.pl
- (1.22 KiB) Downloaded 183 times
Solved the problem for the search
Hi Phalek!
Good luck in your new job.
I found the error for the search:
"Also when I try to search any mac-addres selecting search->device manufacturer
it shows me the error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/cacti/cacti-0.8.7b/plugins/nmidPhpip/search.php on line 83
Also attached. "
It was a wrong string at "/plugins/nmidPhpip/search.php"
At lines 149 and 151 you sould correct the following values:
<option value="deviceLocation" >Device Location</option>
<option value="deviceManufacturer" >Device Manufacture</option>
Regards,
Fernando Coelho
Good luck in your new job.
I found the error for the search:
"Also when I try to search any mac-addres selecting search->device manufacturer
it shows me the error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/cacti/cacti-0.8.7b/plugins/nmidPhpip/search.php on line 83
Also attached. "
It was a wrong string at "/plugins/nmidPhpip/search.php"
At lines 149 and 151 you sould correct the following values:
<option value="deviceLocation" >Device Location</option>
<option value="deviceManufacturer" >Device Manufacture</option>
Regards,
Fernando Coelho
Who is online
Users browsing this forum: No registered users and 0 guests