Check Disk Usage Critical & Warning issues
Tom DE BLENDE
tdeblend at gcc.dhl.com
Tue Dec 17 08:54:52 CET 2002
Scott, NSClient works with ratios rather than absolute figures.
> Scott Urbatsch wrote:
>
> Seems I cant quite get a grasp of the check_nt (nt_disk) services.
> I seem to have it partly correct, but either have Critical or OK,
> never Warning. Ive a tried a variety of combinations, but guess I
> need a definitive answer as to the parameters required. I get
> reliable responses from the NSClient
>
>
>
>
>
> WebPage
>
> - - - - --- - -
>
> Disk-usage CRITICAL 12-16-2002 11:01:38 0d 11h 0m 42s 3/3 Disk
> utilization: f: 5376.00 Mb free, g: 1413.12 Mb free,
>
>
>
> \tmp\apan.debug
>
> - - - - - - - - --- - -
>
> Mon Dec 16 11:03:40 PST 2002 Args: nt-disk server Disk-usage
> 1040065420 1000 2000 (I get same results with 2000 1000 as well)
>
>
>
> Apan.cfg
>
> - - - - --- - -
>
> server;Disk-usage;/usr/local/nagios/rrd/server-Disk-usage.rrd;f|g;f-used:AREA
> f-free:STACK g-used:AREA g-free:STACK
>
> ;Disk usage;Bytes;-l 1 -b 1024
>
>
>
> services.cfg
>
> - - - - --- - -
>
> define service {
>
> host_name server
>
> service_description Disk-usage
>
> check_command apan!nt-disk!1000!2000
> (NOTE: Ive tried 2000!1000 & 2000.00!1000.00 and so on)
>
> use generic-service
>
> check_period 24x7
>
> max_check_attempts 3
>
> normal_check_interval 5
>
> retry_check_interval 2
>
> contact_groups admins
>
> notification_interval 120
>
> notification_period 24x7
>
> notification_options w,u,c,r
>
> }
>
>
>
> serviceextinfo.cfg
>
> - - - - --- - - - --- - -
>
> define serviceextinfo{
>
> host_name 2k02
>
> service_description Disk-usageFG
>
> notes_url
> /nagios/cgi-bin/apan.cgi?host=2k02&service=Disk-usageFG
>
> icon_image graph.png
>
> icon_image_alt View graphs
>
> }
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
More information about the Users
mailing list