[Nagiosplug-help] Nagios SNMP help for CPU utilization

Mohanty, Amitabh (Corporate, consultant) amitabh.mohanty at corporate.ge.com
Fri Feb 11 06:18:02 CET 2005

Hi Patrick,
  Thanks for your quick response. I think I can use snmpget (in linux) instead and add that command in a shell script and call the script in Nagios. But do you know how can I convert the counter values (ssCpuRawUser,
ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) to the percentage of CPU utilization?


-----Original Message-----
From: Patrick Proy [mailto:nagios-user at proy.org]
Sent: Friday, February 11, 2005 8:25 AM
To: Mohanty, Amitabh (Corporate, consultant);
nagiosplug-help at lists.sourceforge.net
Subject: RE: [Nagiosplug-help] Nagios SNMP help for CPU utilization


If you want real-time value, you must get the counters (ssCpuRawUser,
ssCpuRawNice, ssCpuRawSystem, ssCpuRawIdle) instead.
But you won't be able to use check_snmp....

nagios AT proy.org

-----Message d'origine-----
De : nagiosplug-help-admin at lists.sourceforge.net
[mailto:nagiosplug-help-admin at lists.sourceforge.net] De la part de Mohanty,
Amitabh (Corporate, consultant)
Envoyé : jeudi 10 février 2005 17:24
À : nagiosplug-help at lists.sourceforge.net
Objet : [Nagiosplug-help] Nagios SNMP help for CPU utilization

  I am using Nagios snmp plugin (NetSNMP) for monitoring the cpu usage of
remote servers (Running Red Hat Linux). The output I am getting is the
average value  instead of the real-time value (i.e. output of the top
command). I am using the following command. 
  I would appreciate if someone can help me out on this.

./check_snmp -H <host_name> -C <community_name> -o

Amitabh Mohanty
GE - CIS (Corporate Communications)
Tel: 203-944-6411 Dialcomm: 8*233-6411
Mobile: 203-223-9200
Email: amitabh.mohanty at corporate.ge.com 

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.
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

More information about the Help mailing list