[Nagios-users] Nagiosgraper

Rikard Dahlberg ej_seg at hotmail.com
Wed Dec 15 09:48:39 UTC 2010


Right, pnp4nagioS  seems slicker.

However, after i've installed it, i got this error , did you get that also? If so, how did you work around it? :
"
PNP Error
Please check the Kohana documentation for information about the following error.
application/models/data.php [104]:
perfdata directory "/usr/local/pnp4nagios/var/perfdata/" is empty. Please check your Nagios config. Read FAQ online"
/Rik

From: PWilliamson at twgi.net
To: ej_seg at hotmail.com
Subject: RE: [Nagios-users] Nagiosgraper
Date: Tue, 14 Dec 2010 14:56:05 +0000



Just the normal documentation.  I just need to “turn off” nagiosgrapher now.  Setup on pnp4n is much nicer. From: Rikard Dahlberg [mailto:ej_seg at hotmail.com] 
Sent: Tuesday, December 14, 2010 9:51 AM
To: Paul Williamson
Subject: RE: [Nagios-users] Nagiosgraper 
Thanks paul, i might just look into that.
Did you follow a specific guide or just the normal documentations?

/RikFrom: PWilliamson at twgi.net
To: ej_seg at hotmail.com
Subject: RE: [Nagios-users] Nagiosgraper
Date: Tue, 14 Dec 2010 14:52:04 +0000I just went down the same road, and I think you’d be better served to go with pnp4nagios.  It’s what the “official” Nagios commercial distribution uses, so there’s more hope for longer term support.  Plus, setting up nagiosgrapher, while not bad, is way more involved than pnp4nagios. Paul From: Rikard Dahlberg [mailto:ej_seg at hotmail.com] 
Sent: Tuesday, December 14, 2010 9:42 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Nagiosgraper 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: <http://lists.nagios.com/pipermail/nagios-users/attachments/20101215/46b5cde2/attachment.html>


More information about the Nagios-users mailing list