Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Network Management Integration Plugin ( v0.3.9a Build 129 )
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 15, 16, 17  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements
Author Message
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Wed Jun 11, 2008 11:13 pm    Post subject: Reply with quote

Hi,

You'll also need to enable the "nmid" main plugin via the PIA. That one contains the java script files needed for the nmidPhpIP installation. Otherwise you won't see anything (as in the screenshots you provided ).
Back to top
frcoelho



Joined: 11 Jun 2008
Posts: 6

PostPosted: Thu Jun 12, 2008 1:23 pm    Post subject: doesn´t show the tree Reply with quote

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,



ScreenShot073.jpg
 Description:
 Filesize:  50.91 KB
 Viewed:  1940 Time(s)

ScreenShot073.jpg



ScreenShot074.jpg
 Description:
 Filesize:  45.34 KB
 Viewed:  1940 Time(s)

ScreenShot074.jpg


Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Fri Jun 13, 2008 3:07 am    Post subject: Reply with quote

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.



get_data.php.tar.gz
 Description:

Download
 Filename:  get_data.php.tar.gz
 Filesize:  1.3 KB
 Downloaded:  73 Time(s)

Back to top
frcoelho



Joined: 11 Jun 2008
Posts: 6

PostPosted: Fri Jun 13, 2008 6:33 am    Post subject: Almost :-) Reply with quote

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



ScreenShot076.jpg
 Description:
 Filesize:  113.01 KB
 Viewed:  1895 Time(s)

ScreenShot076.jpg



ScreenShot075.jpg
 Description:
 Filesize:  141.96 KB
 Viewed:  1895 Time(s)

ScreenShot075.jpg


Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Fri Jun 13, 2008 6:46 am    Post subject: Reply with quote

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 ?



display.php.tar.gz
 Description:

Download
 Filename:  display.php.tar.gz
 Filesize:  9.24 KB
 Downloaded:  68 Time(s)

Back to top
frcoelho



Joined: 11 Jun 2008
Posts: 6

PostPosted: Fri Jun 13, 2008 9:13 am    Post subject: nmidPhpip Reply with quote

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/documentation/poller.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



ScreenShot078.jpg
 Description:
 Filesize:  98.65 KB
 Viewed:  1880 Time(s)

ScreenShot078.jpg


Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Mon Jun 16, 2008 2:16 am    Post subject: Reply with quote

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 )
Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Thu Jun 19, 2008 1:55 am    Post subject: Reply with quote

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/fault-management/nmid.html
Back to top
frcoelho



Joined: 11 Jun 2008
Posts: 6

PostPosted: Fri Jun 20, 2008 3:52 pm    Post subject: Errors and Parser - Poller Reply with quote

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,



report_error.jpg
 Description:
 Filesize:  78.5 KB
 Viewed:  1703 Time(s)

report_error.jpg



graph_error.jpg
 Description:
 Filesize:  41.5 KB
 Viewed:  1703 Time(s)

graph_error.jpg



example.jpg
 Description:
 Filesize:  68.14 KB
 Viewed:  1706 Time(s)

example.jpg



search_error.jpg
 Description:
 Filesize:  25.35 KB
 Viewed:  1703 Time(s)

search_error.jpg



update_DB.pl
 Description:

Download
 Filename:  update_DB.pl
 Filesize:  1.22 KB
 Downloaded:  57 Time(s)

Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Tue Jul 08, 2008 4:22 am    Post subject: Reply with quote

Hi All,

I managed to change jobs and am planing to move to southern germany ( Bodensee ), so I don't have a lot time right now to work on the plugin.

I'm trying to do some of the stuff frcoelho mentions in his post this weekend.
Back to top
frcoelho



Joined: 11 Jun 2008
Posts: 6

PostPosted: Wed Jul 16, 2008 9:10 am    Post subject: Solved the problem for the search Reply with quote

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
Back to top
msw1970
Cacti User


Joined: 09 Jan 2007
Posts: 153

PostPosted: Thu Jul 24, 2008 9:44 am    Post subject: Reply with quote

Does anyone have an idiots guide to getting the smokeping integration working??

I have a working installation of smokeping running on the same box as cacti.

Thanks
Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Thu Jul 24, 2008 3:40 pm    Post subject: Reply with quote

Hi msw1970, did you try the pdf document as a start ?
Back to top
msw1970
Cacti User


Joined: 09 Jan 2007
Posts: 153

PostPosted: Thu Jul 24, 2008 4:04 pm    Post subject: Reply with quote

phalek wrote:
Hi msw1970, did you try the pdf document as a start ?


I did indeed... I think I've entered the correct paths & urls in Cacti but I cannot see how cacti knows which smokeping graphs to pick up??
Back to top
phalek
Cacti User


Joined: 31 Jan 2008
Posts: 162
Location: Kressbronn, Germany

PostPosted: Fri Jul 25, 2008 3:03 am    Post subject: Reply with quote

ok, Make sure you also included the additonal code which is mentioned in that doc.

Also, you'll need to have the "nmid" plugin installed, so you can then configure the devices in the "Configure Devices" section. See the image below. That's where you need to "add" devices to smokeping and select the appropriate server.


Once you've done that, there will be a file in the nmidSmokeping directory that contains the "Target" section for the smokeping config. You'll need to add that to your smokeping config, otherwise the CGI that comes with the smokeping plugin will not be able to find the correct smokeping images.



nmid_configDevices.jpg
 Description:
 Filesize:  36.17 KB
 Viewed:  1038 Time(s)

nmid_configDevices.jpg


Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Announcements All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 11, 12, 13 ... 15, 16, 17  Next
Page 12 of 17

 



Powered by phpBB © 2001, 2005 phpBB Group