[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Test autogenerated Nagios configuration from sitesummary collected info



[Holger Levsen]
> how to enable+configure NRPE?

Here are the notes I have written in the README:

On the client side, add
'include=/etc/nagios/sitesummary-nrpe-commands.cfg' and
'dont_blame_nrpe=1' in /etc/nagios/nrpe_local.cfg to enable the
sitesummary checks.  To make sure the nagios server can contact nrpe,
it might be required to list the server address using the
allowed_hosts option.  Running these commands as root normally does
the trick.

  aptitude install nagios-nrpe-server nagios-plugins-standard
  sitesummary-client
  cat >> /etc/nagios/nrpe_local.cfg <<EOF
allowed_hosts=myserver
dont_blame_nrpe=1
include=/etc/nagios/sitesummary-nrpe-commands.cfg
EOF

On the Nagios server, remote checks need to be enabled for the
sitesummary cron job, by adding 'nagiosopts=""' to
/etc/sitesummary/collector.cfg.

Happy hacking,
-- 
Petter Reinholdtsen


Reply to: