pnp4nagios - Hostname not set
Tristan Drinkwater
tristand at micro-p.com
Thu Jun 9 18:30:41 CEST 2011
Hi guys,
I've followed the install instruction from here (http://docs.pnp4nagios.org/pnp-0.4/install) to install pnp4nagios v4 on my nagios 3.x running on a fedora 14 box but I'm stuck when verifying the install.
When I do http://servername/Nagios/pnp my first error is 'Hostname is not set' followed by 'perfdata folder is empty' and 'no rrd files'
I've looked and sure enough there are no rrd files in the folder, plus there is no entry in the log file.
To me this suggests that Nagios isn't firing the command 'process-service-perfdata' after completing a check.
My commands.cfg file looks correct;
# Added by Tristan for PNP 4 Nagios
define command {
command_name process-service-perfdata
command_line /usr/local/nagios/libexec/process_perfdata.pl
}
define command {
command_name process-host-perfdata
command_line /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
}
And so is my Nagios.cfg file;
process_performance_data=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
these tow are the only things I've changed from the default install.
Any ideas what I've missed??
Any tips on how I can drill down further to see what's not happing and why?
Thanks in advance :)
Regards,
Tristan Drinkwater
________________________________
Micro Peripherals Limited.
Registered Office: Shorten Brook Way, Altham Business Park, Altham,
Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790
Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91
DISCLAIMER:
This e-mail and attachments are confidential and are intended solely for the use of the individual to
whom it is addressed. Any views or opinions presented are solely those of the author and do not
necessarily represent those of Micro Peripherals Limited.
If you are not the intended recipient, be advised that you have received this Email in error and that
any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this
transmission is received in error please notify the sender immediately and delete this message from
your E-mail system.
All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110609/37f0b23a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
-------------- next part --------------
_______________________________________________
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