N2rrd problem

Dani dani at tydnet.org
Mon Aug 6 17:15:35 CEST 2007


A Dilluns 06 Agost 2007, Mattia va escriure:
> Hi all,

Hi Mattia,

> n2rrd:mailallarm: Host = mailallarm, Service name = check_icmp, Check
> result = PING OK - Packet loss = 0%, RTA = 0.23 ms
> n2rrd:mailallarm: Updating ds_names: loss:RTA, ds_values: 0:0.23 in
> file: /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd
> n2rrd:mailallarm: ERROR while updating
> /var/log/nagios/rra/mailallarm/mailallarm_icmp.rrd: unknown DS name
> 'loss'
>
> has anyone any clue?

Is telling you that found loss = sth but you did not defined this in icmp.t under templates/rra/.

just define it even when you are not to finally graph it

-s 300 # 5minutes
        DS:rta:GAUGE:600:0:U
 ->   DS:loss:GAUGE:600:0:U
        RRA:AVERAGE:0.5:1:1440   #day
        RRA:AVERAGE:0.5:30:336   #week
        RRA:AVERAGE:0.5:120:360  #month
        RRA:AVERAGE:0.5:1440:365 #year
        RRA:MAX:0.5:1:1440   #day
        RRA:MAX:0.5:30:336   #week
        RRA:MAX:0.5:120:360  #month
        RRA:MAX:0.5:1440:365 #year
        RRA:MIN:0.5:1:1440   #day
        RRA:MIN:0.5:30:336   #week
        RRA:MIN:0.5:120:360  #month
        RRA:MIN:0.5:1440:365 #year

This comes from "Packet Loss" but rrd is taken the last word... use code.t to convert packet loss to Packet_Loss for instance.

> Thanks
> Cheers
> Mattia

good luck, 

dani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070806/14c4f482/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
-------------- next part --------------
_______________________________________________
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