Hi,

thank you for your help, i have an error in my check_vmstat "utils.pm".
i have create a log in my command to see wahat is the probleme like this:
./check_vmstat -m CPU -wcpu-usg 80 -ccpu-usg 90 
>2>/usr/local/nagios//var/check_by_vmstat.log

Nadia

--- En date de : Mar 15.9.09, Hendrik Baecker <[email protected]> a 
écrit :

> De: Hendrik Baecker <[email protected]>
> Objet: Re: [Nagios-users] status Null
> À: [email protected]
> Date: Mardi 15 Septembre 2009, 9h55
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>  
> Am 14.09.2009 12:56, schrieb nadia kheffache:
> > Hi,
> >
> > i want to check local cpu for my Nagios server, but i
> have status
> > null on my web interface, and when i execute the
> commande line, the
> > status is ok.
> >
> > [nag...@server libexec]$ ./check_vmstat -m CPU
> -wcpu-usg 80
> > -ccpu-usg 90 OK: Usage CPU: Total=2% [User=0%,
> > System=1%]|cpu_usage_pct=2%;;;0;100
> cpu_usr_pct=0%;;;0;100
> > cpu_sys_pct=1%;;;0;100
> Don't run plugin tests with relative paths - nagios won't
> do it either.
> 
> cd /tmp
> /usr/local/nagios/libexec/check_vmstat -m CPU -wcpu-usg 80
> -ccpu-usg 90
> 
> Post output here...
> 
> - -
> Hendrik
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
>  
> iD8DBQFKr0hzlI0PwfxLQjkRAjxLAJ0fHyWDgYhrM4FKz8q/hFNjkGNnuACdHEI2
> SgvE2UlwuSOzW2myRECoQEw=
> =xN+z
> -----END PGP SIGNATURE-----
> 
> 
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer
> Conference in SF, CA
> is the only developer event you need to attend this year.
> Jumpstart your
> developing skills, take BlackBerry mobile applications to
> market and stay 
> ahead of the curve. Join us from November 9-12, 2009.
> Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Nagios-users mailing list
> [email protected]
> 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
> 


      

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to