Status UNKNOWN and no data in graphs

Thomas Dorsch td at ewt.de
Fri Dec 6 10:49:36 CET 2002


Hi Fredrik,

i 'm sorry, i forgot to tell about the apan.debug log. The log says the 
data could not be inserted. Below is the output:

Fri Dec 6 10:55:14 CET 2002 Args: snmpget myhost net_flow 1039168514 10 20
Could not insert ' ' , '1039168514' into 
/usr/local/nagios/rrd/myhost_net_flow.rrd

To me it looks like that that the first value is empty ( ' ' )

This is my service definition:

# Service definitions
define service {
        use                             generic-service         ; Name 
of service template to use

        host_name                       myhost
        service_description             net_flow
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           1
        retry_check_interval            1 
        contact_groups                  linux-admins
        notification_interval           240  
        notification_period             24x7
        check_command                   apan!snmpget!10!20
        }

I hope this one helps....

Regards Tom

Fredrik Wänglund wrote:

>What do you get in/tmp/apan.debug?
>How often is the check run?
>
>/FredrikW
>
>-----Original Message-----
>From:	Thomas Dorsch [mailto:td at ewt.de]
>Sent:	Thu 05-Dec-02 10:59
>To:	nagios-users at lists.sourceforge.net
>Cc:	
>Subject:	[Nagios-users] Status UNKNOWN and no data in graphs
>
>Hi,
>
>i'm using nagios for a couple of days and it works great for me. This 
>time i'm implementing the apan snmp plugin to get interface statistics 
>from our cisco 's. After configuring it worked out of the box for one 
>day. All graphs were produced fine but suddenly the state in nagios 
>turned UNKNOWN and there were no more traffic graphs displayed. Below is 
>the outputline of nagios service details and config samples also.
>
>net_flow (my command definition)
>
>UNKNOWN
>12-05-2002 10:59:36
>1d 19h 3m 54s
>3/3
>SNMP WARNING - Counter32: 3787811407 (this is still increasing but no 
>data is displayed within the graphs)
>
>This is the line in apan.cfg:
>
>mycisco;net_flow;/usr/local/nagios/rrd/mycisco_net_flow.rrd;public:.1.3.6.1.2.1.2.2.1.10.3|public:.1.3.6.1.2.1.2.2.1.16.3;IN:LINE1 
>OUT:LINE2;Network throughput;Bytes/sek; which is the eth0 interface on a 
>cisco MC3810.
>
>This is the commandline to create the rrd file:
>
>rrdtool create /usr/local/nagios/rrd/mycisco_net_flow.rrd -s 60 
>DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 
>RRA:AVERAGE:0.5:60:43800
>
>Any idea what could be the problem. I tried a couple of things 
>especially with heartbeat and also changed COUNTER to DERIVE, but the 
>problem is still the same.
>
>Regards Tom
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list