host-perfdata and service-perfdata missing after install

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
kevshorty
Posts: 2
Joined: Tue Sep 11, 2012 3:37 pm

host-perfdata and service-perfdata missing after install

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

Can you post your /usr/local/nagios/etc/nagios.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
kevshorty
Posts: 2
Joined: Tue Sep 11, 2012 3:37 pm

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

Post 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?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

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

Post 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
Locked