Help with nagiosgraph?
Litwin, Matthew
mlitwin at stubhub.com
Tue Mar 2 19:40:42 CET 2010
I thought I might try posting this here in case someone has lots of experience with nagiosgraph.
I am setting up nagiosgraph-1.4.1 on a nagos 3.0.6 installation on CentOS 5.2 and I have this peculiar problem where only some of the hosts and services are having their rrd data populating. It seems totally random as to which hosts are being selected, like one or two hosts from most of my hostgroups. Also, which services that are being collected is also spotty. What is even weirder is that the service data that is being collected is getting updated and goes back to when I set everything up, but other hosts don't even have it's host directory under the rrd data root.
I have nagiosgraph running in debug mode and I don't see anything particularly offensive, but it does seem to hit an empty perfdata.log that I would expect. I feel data is simply getting missed in the churn or something. Any ideas?
Here is a chuck of nagiosgraph.log:
Tue Mar 2 18:26:42 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:42 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:42 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug processdata(1)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getdebug(insert, srwc01cca002, CPU Utilization)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getdebug found debug_insert
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getdebug found debug_insert_host
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug processdata data = [
'1267554396',
'srwc01cca002',
'CPU Utilization',
'CPU USAGE OK - 1% (usr=0 sys=0 idle=99)',
'usage=1 usr=0 sys=0 idle=99
'
];
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> warn perfdata not recognized: servicedescr:CPU Utilization
output:CPU USAGE OK - 1% (usr=0 sys=0 idle=99)
perfdata:usage=1 usr=0 sys=0 idle=99
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:26:50 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:27:00 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:27:00 2010 insert.pl<http://insert.pl/> debug inputdata()
Tue Mar 2 18:27:00 2010 insert.pl<http://insert.pl/> debug inputdata empty /usr/local/nagios/var/perfdata.log
Tue Mar 2 18:27:00 2010 insert.pl<http://insert.pl/> debug insert.pl<http://insert.pl/> exited
Tue Mar 2 18:27:00 2010 insert.pl<http://insert.pl/> debug getrules(/usr/local/nagios/nagiosgraph/map)
Tue Mar 2 18:27:00 2010 insert.pl<http://insert.pl/> debug inputdata()
Thanks,
Matthew Litwin
mlitwin at stubhub.com<mailto:mlitwin at stubhub.com>
415.222.8475
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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