Page 1 of 1

host-perfdata and service-perfdata missing after install

Posted: Wed Sep 12, 2012 1:28 am
by kevshorty
I have two RHEL 5.7 VMs stood up. 1 splunk VM (already in play) and 1 nagios VM (newly created). My customer is requesting integration with splunk and nagios. Splunk has a nagios app which I download and have already added to my Splunk VM.

I am following the instructions listed on the splunk website (please reference):
http://splunk-base.splunk.com/apps/2237 ... for-nagios

Main problem:
After doing the nagios install everything seems to work (i.e. web interface working); however, the instructions on the splunk page specify that I should index the following nagios files

/usr/local/nagios/var/nagios.log
/usr/local/nagios/var/host-perfdata
/usr/local/nagios/var/service-perfdata

Only the nagios.log file exist. I cannot find the host-perfdata or service-perfdata file. I even did a find on the whole /usr/local/nagios directory and still did not find files. I have followed the instructions on the nagios website carefully and have installed three times but still cannot find these files. The only step I am omitting is the email configuration step (which I cannot do because I am in a secure lab).

Do I need to just create these files? If so, I am not sure what actually goes in them? Do you have example host-perfdata and service-perfdata. I have done multiple searches online it seems no one has had this problem. Have you seen this problem before?

Re: host-perfdata and service-perfdata missing after install

Posted: Wed Sep 12, 2012 10:58 am
by scottwilkerson
Can you post your /usr/local/nagios/etc/nagios.cfg

Re: host-perfdata and service-perfdata missing after install

Posted: Wed Sep 12, 2012 11:16 am
by kevshorty
I actually in a secure environment so I am not able to post the /usr/local/nagios/etc/nagios.cfg file. But, is there something in particular you would like me to search for in the nagios.cfg?

Re: host-perfdata and service-perfdata missing after install

Posted: Wed Sep 12, 2012 2:34 pm
by mguthrie
These files are part of the PNP addon for Nagios, did you go through that installation process?
http://docs.pnp4nagios.org/pnp-0.6/install