Problem Getting the APAN Link to Appear in Nagios

allan allan at webshotsinc.com
Sat Apr 3 01:25:11 CEST 2004


[[ Apologies for the double post.  We changed domain names and i forgot to change my subscription.]]


Now my graphs are working and showing data.  I'm guessing I wasn't patient enough.



Allan Bailey <allan at webshotsinc.com> wrote:
>
>I'm having the same or similar problem.  Right now I'm reading up on rrdtool to try to
>understand why the valuse I gave  'apanconf-sql' don't work.   The documentation that 
>I have on the values to give to 'apanconf-sql' is rather vague.
>
>Looking at the debugging output I find the the apan-sql command/script is issuing this:
>
>Fri Apr  2 14:46:02 PST 2004 /usr/bin/rrdtool update /var/nagios/rrd/thoth-ping.rrd -t rtt 1080945957:0.07
>Fri Apr  2 14:46:02 PST 2004 Inserting 'rtt' , '1080945957:0.07' into /var/nagios/rrd/thoth-ping.rrd
>Fri Apr  2 14:46:02 PST 2004 Returning ' PING OK - Packet loss = 0%, RTA = 0.07 ms' , 0
>
>
>However, 'rrdtool info thoth-ping.rrd' shows the following:
>
>filename = "thoth-ping.rrd"
>rrd_version = "0001"
>step = 60
>last_update = 1080946017
>ds[rtt].type = "GAUGE"
>ds[rtt].minimal_heartbeat = 60
>ds[rtt].min = 0.0000000000e+00
>ds[rtt].max = NaN
>ds[rtt].last_ds = "UNKN"
>ds[rtt].value = 3.9900000000e+00
>ds[rtt].unknown_sec = 0
>rra[0].cf = "AVERAGE"
>rra[0].rows = 50400
>rra[0].pdp_per_row = 1
>rra[0].xff = 5.0000000000e-01
>rra[0].cdp_prep[0].value = NaN
>rra[0].cdp_prep[0].unknown_datapoints = 0
>rra[1].cf = "AVERAGE"
>rra[1].rows = 43800
>rra[1].pdp_per_row = 60
>rra[1].xff = 5.0000000000e-01
>rra[1].cdp_prep[0].value = 7.9000000000e-01
>rra[1].cdp_prep[0].unknown_datapoints = 35
>
>
>
>According to that, it seems to not accept the value.
>
>
>When I added the service via 'apanconf-sql' I used this:
>
>================
>  ------------------ Add a service -------------------
>   Hostname (thoth):
>     Service (ping):
>     Comment (ping):
>RRD-file (/var/nagios/rrd/thoth-ping.rrd):
>Graph-label (ping rtt):
>    Graph-unit (ms):
>          Step (60):
>   Extra rrdtool args :
>Adding service 'ping' on host 'thoth' (ping) to the database...
>Argument #1 (Blank when you are ready): rtt
>           DS-name : rtt
>DS-type, 1=GAUGE, 2=COUNTER : 1
>    heartbeat (900): 60
>            Min (0):
>            Max (U):
>Drawing type (LINE2):
>Adding arguments to the database...
>================
>
>
>If anyone can point me to better documentation on these, please do.
>
>thanks,
>Allan
>
>
>"Kaplan, Andrew H." <AHKAPLAN at PARTNERS.ORG> wrote:
>>Jeff --
>>
>>The rrd file, only one service is being checked at this point, is being updated.
>>The last time stamp for the file was today at 16:10 EST.
>>
>>The apan debug files have not had any updates since yesterday afternoon. I don't
>>think there is much to look at in them for the present
>>situation.
>>
>>I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was
>>changed to "$SERVICEDESC$". Also, the check_command syntax
>>in the services.cfg file for me is apan-sql as opposed to apan.
>>
>>I made the rrd files via the apanconf-sql utility. When I ran the utility I ran
>>it as the nagios user.
>>
>
>
>-------------------------------------------------------
>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_id=1470&alloc_id=3638&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
>
--
.allan.


-------------------------------------------------------
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_id=1470&alloc_id=3638&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