[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bigsister-general] snmp based cpu monitoring on 0.99b2?


Using 0.99b2 I'm having trouble getting snmp based monitoring of a remote host's CPU to work in a reasonable fashion.

Let's say I have a pair of example netware boxes, and localhost. netware1 is a single CPU netware box, netware2 is a dual CPU netware box, and localhost is a single CPU linux box.

So I create these DESCR statements:

DESCR           features=local,unix,linux               localhost
DESCR           features=remote,netware                netware1
DESCR           features=remote,netware                 netware2

Both netware boxes respond to snmpwalk for processor load:

$snmpwalk netware1 public hrProcessorLoad
host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1 = 0

$snmpwalk netware2 public hrProcessorLoad
host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1 = 30
host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.2 = 3

Now if I try to use "load" to monitor netware2 and netware1:

	netware1 	load		
	netware2	load		

I get the same load average for both boxes. Highly unlikely.

Now if I try "cpuload":

	netware1 	cpuload	
	netware2	cpuload

I get output for localhost's "top" command for both. Including claiming they are running uxmon, and netware2 only shows 1 cpu. Clearly not right.

I do get reasonable numbers from directly calling snmp with type=cpu:

	netware1	type=cpu snmp 	
	netware2	type=cpu snmp

However, this doesn't graph, and occasionally the SNMP query fails creating a bogus "netware1.snmp" with a purple status.

In 0.99b2 is there any way to correctly query processor load via SNMP and graph it? I do prefer the behavior I get when I don't call snmp directly, and instead call storage, etc and let the test call snmp due to the DESCR containing remote. Several others seem to just use "cpuload" under 0.98, but that seems to not work at all for me in 0.99b2.




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.