CheckNT
Roger
Roger at NagiosWiki.com
Sun Dec 2 15:35:27 CET 2007
On 11/19/07, Jerad Riggin <jriggin at gmail.com> wrote:
> I am monitoring the CPU load with NSClient on a host. Here is the
> service definition
>
> define service{
> use windows-service
> name check-cpu
> notification_options w,u,c,r
> check_command check_nt!CPULOAD!-l 5, 80, 90
> register 0
> }
>
> Here is the actual call to that service
>
> define service{
> use check-cpu
> service_description CPU
> contact_groups mis
> hostgroup_name windows-clients
> }
>
> Here is what I see in the nagios interface
>
> CPU OK 11-19-2007 14:56:07 122d 2h 7m 2s 1/5 not enough values for -l
> parameters
You need something like
-l 5,70,90,30,70,90 (no commas!)
e.g.
5 min average ; -w 70 min ; -c 90 min
30 min average ; -w 70 min ; -c 90 min
Does that make sense? (-w = warning; -c = critical)
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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