Reporting stuff

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Wed Feb 5 23:32:57 CET 2003


In nagios.cfg:

xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log
xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPU
T$\t$PERFDATA$

You'll need to reconfigure:

./configure --with-file-perfdata

Install the new binaries, as appropriate.  Restart nagios.

Take a look at the hostperf.log and serviceperf.log output.  Slice and dice
to your heart's content.

jc

> -----Original Message-----
> From: Steve Dussaux [mailto:stevox2000 at yahoo.com]
> Sent: Wednesday, February 05, 2003 9:14 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Reporting stuff
> 
> 
> I'd like to make a script that will gather and print 
> informations from different Nagios cgi (hosts
> and services availability, trends, alert history...).
> The purpose of this script is to print monthly stats (by a 
> cron job) without using the web
> interface.
> 
> How can i proceed to have this result without too much 
> scripting stuff effort ?
> 
> Steve
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> 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:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list