UNIX load numbers incorrectly displayed
Matt Pounsett
matt.pounsett at cira.ca
Wed Feb 11 16:49:47 CET 2004
On Wed, 11 Feb 2004, Frank Pikelner wrote:
> I'm using the NET-SNMP (2021 private OIDs) and the check_load plugin. The
> plugin is returning numbers such as (21 47 62) to Nagios, though the uptime
> command correctly identifies the load as 0.21 0.47 and 0.62
I don't believe SNMP has a FLOAT data type, so things like load numbers are
converted to INTEGER. Just divide the results by 100 and you've got the
original numbers back.
--
Matt Pounsett CIRA - Canadian Internet Registration Authority
Technical Support Programmer 350 Sparks Street, Suite 1110
matt.pounsett at cira.ca Ottawa, Ontario, Canada
613.237.5335 ext. 231 http://www.cira.ca
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list