| Author |
Message |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
 How to Use Plugins - Discover & Monitor Specifically
I have downloaded and installed the CactiEZ distro (Nice one Cigamit!), and setup a few hosts (one Cisco 4006 switch and 3 Windows Web Servers). It looks like its reporting stuff nicely!
The graphs look nicer now, AND I can use 95th percentile graphs with zooming.
However, how do the Monitor and Discover plug ins work? I can see the tab in each case, but have no option to add anything to either of the tabs.
On the Monitor tab I can see Localhost and that is it.
I've looked around for Documentation (yup, that HORRID word), but can't find any.
Any ideas?
Argon0
|
| Tue Jan 17, 2006 11:20 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
 Re: How to Use Plugins - Discover & Monitor Specifically
argon0 wrote: I have downloaded and installed the CactiEZ distro (Nice one Cigamit!), and setup a few hosts (one Cisco 4006 switch and 3 Windows Web Servers). It looks like its reporting stuff nicely!
The graphs look nicer now, AND I can use 95th percentile graphs with zooming.
However, how do the Monitor and Discover plug ins work? I can see the tab in each case, but have no option to add anything to either of the tabs.
On the Monitor tab I can see Localhost and that is it.
I've looked around for Documentation (yup, that HORRID word), but can't find any.
Any ideas?
Argon0
To see a device in Monitor, just goto that device (where you input the device info like IP/etc..) and click on the check box that says "Monitor this host". That will have it show up in the Monitor tab. The discover plugin has actually been rewritten since that release, but that version does still work. Goto Settings >> Misc and add a subnet for it to scan, within 4 hours or so (it will be configurable later) you will scanning the subnet for machines.
Documentation is in the works, but I kinda am waiting for a few of the plugins to stablize before doing so, otherwise I have to change it all again.
|
| Tue Jan 17, 2006 12:12 pm |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
<doh>
Thanks Jimmy!!
This is VERY <cool>.
Could even replace Big Brother... Well maybe not quite yet...
|
| Wed Jan 18, 2006 4:12 am |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
Discover mentions you can use wildcards, but doesn't say what those wildcards can be...
I assume that
10.96.11.* scans the 10.96.11.x subnet, am I right?
|
| Wed Jan 18, 2006 5:43 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
argon0 wrote: Discover mentions you can use wildcards, but doesn't say what those wildcards can be...
I assume that 10.96.11.* scans the 10.96.11.x subnet, am I right?
Correct, I will change the text to specify the wildcards.
|
| Wed Jan 18, 2006 9:30 am |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
well it doesn't seem to work - left it with that in all day - nothing on the discover tab....
|
| Wed Jan 18, 2006 9:49 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
argon0 wrote: well it doesn't seem to work - left it with that in all day - nothing on the discover tab....
You may want to run it manually and see what its doing. Granted this is an old version and uses perlNMap so its probably has a few kinks that never got ironned out.
from the command line, goto your cacti directory (/var/www/html/) and run this
perl /var/www/html/plugins/discovery/findhosts.pl
I have a new version of the plugin, which doesn't rely on NMap (it was flaky to being with) and should work better for you. I will see about releasing it sometime by Friday.
|
| Wed Jan 18, 2006 10:59 am |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
<cool>.
I will try and run it manually later on today.
Cacti had really come on in leaps and bounds since I last installed it!!!
I take it you can easily update the plugin?
Argon0
|
| Thu Jan 19, 2006 7:22 am |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
Well it looks like it works, from command line, but I get this error after every subnet: snmpwalk: Failure in sendto (Permission denied)
hmm.. anything to worry about...
|
| Thu Jan 19, 2006 8:44 am |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
OK, Now I have the discovered hosts on my Discover tab, but when I click on Add, it just comes up with a blank Devices[new] screen.
Surely it should come up with a partially populated screen? (i.e. hostname/ip address of host & snmp community that worked with it).
Argon0
|
| Wed Jan 25, 2006 4:56 am |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
argon0 wrote: OK, Now I have the discovered hosts on my Discover tab, but when I click on Add, it just comes up with a blank Devices[new] screen.
Surely it should come up with a partially populated screen? (i.e. hostname/ip address of host & snmp community that worked with it).
Argon0
The old version didn't have this working, but my new version does. It fills in everything but the description. Cacti currently has a bug that doesn't allow you to change the host template when redirecting, but I have already filed a bug report on that, and should have it patched in SVN soon.
I just need to add a few more options, and then I will release the newest version.
|
| Wed Jan 25, 2006 11:07 am |
|
 |
|
argon0
User
Joined: Mon Jan 16, 2006 12:14 pm Posts: 121
|
Waiting with Bated Breath - and my Manager is impressed with the threshold alerts!!!
Argon0
|
| Wed Jan 25, 2006 11:33 am |
|
 |
|
knobdy
New User
Joined: Wed Mar 15, 2006 12:35 pm Posts: 10
|
I've got the new version but appear to be having those old version issues - starting with nothing ever happening (its been installed since the new, non-NMAP version came out.
I've ran it manually - but perhaps there are command line options I'm missing as right now I just get the message that the process is running. Still, nothing shows up.
**DOH! Figured it out, I guess. Needed 10.10.2.* rather than 10.10.2.0 ??
|
| Wed Mar 15, 2006 12:50 pm |
|
 |
|
jimmy
Site Admin
Joined: Thu Nov 11, 2004 11:12 am Posts: 2007
|
knobdy wrote: **DOH! Figured it out, I guess. Needed 10.10.2.* rather than 10.10.2.0 ??
Ya, that was one of the old syntax that NMap allowed, and I didn't want to change too much of how it worked. I am working on allowing you to use more methods such as ranges or subnets, but haven't found the time yet.
|
| Wed Mar 15, 2006 2:54 pm |
|
|