Problem with PNP4 configurations.
Michael Mukherji
michaelmukherji at gmail.com
Mon May 19 08:22:08 CEST 2008
Hello list
I am using nagios 3.0.1 ie the stable version in Ubuntu 7.10. I have
installed pnp4 0.4.9 .I
I have made changes as per documentation for pnp4 for default mode
nagios.cfg file.
process_performance_data=1
service_perfdata_command=process-service-perfdata
host_perfdata_command=process-host-perfdata
commands.cfg file
define command {
command_name process-service-perfdata
command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}
define command {
command_name process-host-perfdata
command_line /usr/bin/perl
/usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA
}
Added following changes in windows.cfg file
define host {
name host-pnp -------do i need to change this name ?
register 0
action_url /nagios/pnp/index.php?host=$HOSTNAME$
}
define service {
name srv-pnp
register 0
action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}
also in each service for which i want data processing the following line
define service {
...
process_perf_data 1
...
}
now when i try to view the pages it says
Initalising
Using /usr/local/nagios/share/perfdata/
RRDTool /usr/bin/rrdtool found.
RRDTool /usr/bin/rrdtool is executable
PHP Function proc_open is enabled
PHP Function fpassthru is enabled
PHP Function xml_parser_create is enabled
PHP zlib Support found.
PHP GD Support found.
RRD Base Directory /usr/local/nagios/share/perfdata/ found.
Hostname is not set.
appreciate some help on this !!
Regards
Michael
AT& T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080519/55d92a53/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- 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