Cactiusers.org


It is currently Thu May 17, 2012 8:57 am




Post new topic Reply to topic  [ 14 posts ] 
 How to Use Plugins - Discover & Monitor Specifically 
Author Message
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 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
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 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
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
<doh>

Thanks Jimmy!!

This is VERY <cool>.

Could even replace Big Brother... Well maybe not quite yet...


Wed Jan 18, 2006 4:12 am
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
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
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
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
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
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
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
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
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
<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
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
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
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
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
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
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
User

Joined: Mon Jan 16, 2006 12:14 pm
Posts: 121
Post 
Waiting with Bated Breath - and my Manager is impressed with the threshold alerts!!!

Argon0


Wed Jan 25, 2006 11:33 am
New User

Joined: Wed Mar 15, 2006 12:35 pm
Posts: 10
Post 
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
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
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
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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: