Apan Unix Disk Check
Marc Powell
marc at ena.com
Wed Apr 7 23:13:20 CEST 2004
Kaplan, Andrew H. <mailto:AHKAPLAN at PARTNERS.ORG> wrote:
> I am planning on monitoring our UNIX systems for disk usage. To that
> end I wanted to use the apanconf-sql utility to create
an rrd file.
> I added a service to the services.cfg file called Disk-usage /www,
> and made sure the check_command line read: apan_sql!disk!80!90
>
> I then went to the apanconf-sql utility and entered the following
> information:
>
> hostname: server1
> Service Disk-usage /www
> RRD-file
> /usr/local/nagios/rrd/server1-Disk-usage_/www.rrd
> Graph-label Disk-usage /www
> Graph-unit Percent
> Step: 60
> Extra rrdtool args:
> Argument#1: /www
> DS-name: /www
> DS-type : 1 (Gauge)
> heartbeat: 900
> Min: 0
> Max: U
> Drawing Type:
>
> I then hit enter for the second argument and I got the following error
> message:
>
> Error while creating RRD-file: ERROR: can't parse argument
> 'DS:/www:GAUGE:900:U'
> Delete service and try to add it again
>
> What did I do wrong, and how do I correct it?
Rrdtool does not allow the use of '/' in a ds name, from the rrdtool man
page at
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdcreate.html
"ds-name is the name you will use to reference this particular data
source from an RRD. A ds-name must be 1 to 19 characters long in the
characters [a-zA-Z0-9_]."
--
Marc
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
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