APAN Error

Yost, Karl Karl.Yost at mptotalcare.com
Thu Jan 15 19:35:27 CET 2004


I am getting the following error from APAN "Disk utilization: Invalid host
name 'emfs3'", in the debug file I find the following Thu Jan 15 13:43:05
EST 2004 Args: nt-disk emfs3 Disk-usage 1074192185 85 90 Could not insert ''
, '1074192185' into /usr/local/nagios/rrd/emfs3-Disk-usage.rrd

I have gone over and over this and I can't figure out where the problem is.
Below are my cfg files. Any help would be greatly appreciated.

# Service definition
define service{
        use                             generic-service         ; Name of
service template to use
        host_name                       emfs3
        service_description             Disk-usage
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  nt-admins
        notification_interval           120
        check_command                   apan!nt-disk!85!90
        }

# 'check_apan' command definition
define command {
        command_name                   apan
        command_line                   /usr/local/nagios/apan/apan.sh $ARG1$
$HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$
        }

# 'emfs3' host definition
define host{
        use                                     generic-host            ;
Name of host template to use

        host_name                       emfs3
        alias                           Wink-2k-File-Server
        address                         10.1.1.87
        parents                         emswitch2
        check_command                   check-host-alive
        max_check_attempts              10
        notification_interval           30
        notification_period             24x7
        notification_options            d,u,r
        }

define  serviceextinfo{
        host_name               emfs3
        service_description     Disk-usage
        notes_url
/nagios/cgi-bin/apan.cgi?host=emfs3&service=Disk-usage
        icon_image              graph.png
        icon_image_alt          View graphs
        }

Apan.cfg
emfs3;Disk-usage;/usr/local/nagios/rrd/emfs3-Disk-usage.rrd;d|e;d-used:AREA
d-free:STACK e-used:AREA e-free:STACK;Disk usage;Bytes
;-l 1 -b 1024

RRD file created with (the file is there with correct r/w perms - rrdtool
create /usr/local/nagios/rrd/emfs3-Disk-usage.rrd -s 60
DS:d-used:GAUGE:300:0:U DS:d-free:GAUGE:300:0:U DS:e-used:GAUGE:300:0:U
DS:e-free:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800

Thanks,
Karl
*****     The information in this email may contain confidential health
information that is legally privileged.  This information is intended for
the use of the individual or entity named above.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or action taken in reliance on the contents of this email is
strictly prohibited.  If you have received this information in error, please
notify the sender immediately and arrange for the return or destruction of
this information.     *****
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040115/dbe4027e/attachment.html>


More information about the Users mailing list