Nagiosgraper

Rikard Dahlberg ej_seg at hotmail.com
Tue Dec 14 15:42:09 CET 2010


Heya!

im currently trying to get a decent graphicsystem online to somewhat replace our Cacti. I know nagiosgraph doesn't really do that but it does fit our needs :)
Im trying to re-write this config file to create nice shiney graphs for my monitored services, but so far no luck. 

This is the template for ping, but if i would change it for maybe checking CPU Load, how would I do so? What are the variables i need to change, this is what i cant figure out.
Worth knowing is that our more or less whole system is built on passive checks that now (Thanks alot to Greg on this mailing list) works flawless.

I have also edited nagios.cfg to enable performance graphing, so that is OK :)

#---
#NagiosGrapherTemplateforcheck_ping
#Author:MariusHein
#---

define ngraph{
       service_name        PING
       graph_log_regex        loss = (\d+)
       graph_value        Loss
       graph_units        %
       graph_legend        Loss
       graph_legend_eol    none
       page            2 Loss
       rrd_plottype        LINE2
       rrd_color        ff0000
}

#PingDEFRTA
define ngraph{
       service_name        PING
       graph_log_regex        rta = (\d+[,\.]\d+)
       graph_value        RTA
       graph_units        ms
       graph_legend        RTA
       page            1 RTA
       rrd_plottype        AREA
       rrd_color        00a000
}

#PingVDEF,AverageRTA
define ngraph{
       service_name        PING
       type            VDEF
       graph_value        vdef_ping_average
       graph_units
       graph_legend        RTA Average
       graph_calc        RTA,AVERAGE
       graph_legend_eol    LEFT
       page            1 RTA
       rrd_plottype        LINE1
       rrd_color        0000ff
       hide            no
}
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101214/51165eb5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
-------------- 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