Check ports - NRPE portaudit check

From TykWiki
Revision as of 10:10, 16 January 2010 by Tykling (talk | contribs) (Created page with '<pre> $ cat /usr/ports/net-mgmt/nagios-check_ports/pkg-descr Nagios Plugin to monitor your FreeBSD Ports Tree for updates or installed packages with known security vulnerabilitie…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
$ cat /usr/ports/net-mgmt/nagios-check_ports/pkg-descr
Nagios Plugin to monitor your FreeBSD Ports Tree for updates or
installed packages with known security vulnerabilities.

Install the port:

sudo portmaster /usr/ports/net-mgmt/nagios-check_ports/

Add the following line to /usr/local/etc/nrpe.cfg:

command[check_ports]=/usr/local/libexec/nagios/check_ports

And restart NRPE. Remember to add the check to the host on the Nagios server as well. In my install this is as simple as making the server a member of the freebsd_servers group.