Check Disk Usage Critical & Warning issues
Fredrik Wänglund
Fredrik.Wanglund at datavis.se
Wed Dec 18 14:06:02 CET 2002
In Apan, you specify how many megabytes there must be free before warning critical is reported.
/FredrikW
-----Original Message-----
From: Tom DE BLENDE [mailto:tdeblend at gcc.dhl.com]
Sent: Tue 17-Dec-02 08:54
To: Scott Urbatsch
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Check Disk Usage Critical & Warning issues
Scott, NSClient works with ratios rather than absolute figures.
> Scott Urbatsch wrote:
>
> Seems I can't 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. I've 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: I've 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/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
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