Check ports - NRPE portaudit check: Difference between revisions

From TykWiki
Jump to navigationJump to search
(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…')
 
No edit summary
Line 1: Line 1:
[[category:nagios]]
[[category:Ports_Management]]
It is possible to monitor servers for outdated or vulnerable ports using Nagios and NRPE:
<pre>
<pre>
$ cat /usr/ports/net-mgmt/nagios-check_ports/pkg-descr
$ cat /usr/ports/net-mgmt/nagios-check_ports/pkg-descr

Revision as of 10:17, 16 January 2010

It is possible to monitor servers for outdated or vulnerable ports using Nagios and NRPE:

$ 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.