How to get Disk utilization graph in Nagios ...

Fredrik Wänglund fredrik.wanglund at datavis.se
Fri Oct 31 12:26:10 CET 2003


see inline comments
...
> 
> # Service definition
> define service{
>         use                             generic-service         ; Name 
> of service template to use
> 
>         host_name                       matter
>         service_description             diska
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              10
>         normal_check_interval           1
>         retry_check_interval            1
>         contact_groups                  linux-admins
>         notification_interval           120
>         notification_period             24x7
>         notification_options            w,u,c,r
>         name                    disk
>         check_command           apan!disk!85!95            
>         }
....
> 
> *3. cgi.cfg has been edited with the following setting.*
> 
> matter;disk_usage;/usr/local/nagios/rrd/matter_disk_usage.rrd;/|/export/home;root:LINE2 
> home:LINE2;Disk usage;%;
> 

I hope you mean apan.cfg, not cgi.cfg.
The second field should be the name of the service - diska, not 
disk_usage (service_description in services.cfg).

> *4. serviceextinfo.cfg has been edited with the following setting.*
> 
> define serviceextinfo{
> host_name               matter
> service_description     disk_usage
> notes_url               
> /nagios/cgi-bin/apan.cgi?host=matter&service=disk_usage
> icon_image              graph.png
> icon_image_alt          View graphs
> }
> 
same here; service_description does not match the service.


/FredrikW



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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