On Jan 30, 2008 2:36 PM, Aaron M. Segura <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-01-30 at 17:20 -0500, Edson Manners wrote: > > Hi, > > I haven't been able to find a solution to this through google or > > the ngaios . I had previously made > > a custom script to get CPU data from snmpd using OID > > 1.3.6.1.4.1.2021.11.9 for Linux and OID 1.3.6.1.2.1.25.3.3.1.2 > > for windows. However the Linux machines snmpd implementation don't seem > > to take SMP CPUs into account and > > I am getting back bogus data. > > > > My question is how are others monitoring CPU usage on SMP Linux servers > > using nagios? > > Thanks > > My script queries "ssCpuRawKernel.0", "ssCpuRawIdle.0", and > "ssCpuRawUser.0" as provided by net-snmp and does some simple division > using values written to a 'state' file on the last run to figure out the > overall CPU % Used, regardless of the number of CPUs. I don't believe > I've posted this one on nagiosexchange, but I'd be glad to send it to > you if you care to take a look. > >
Hi, I'd very much like to take a look at both of your scripts if possible. Has anyone considered adding the OID's for ssCpuRawNice and ssCpuRawWait into the mix? Thanks, Ajesh ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@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