Hi list, I've made some progress with a Nagios Plugin for the FreeBSD Ports.
It's called check_ports for now and the first version can be found here: http://dl.adminlife.net/check_ports Please don't blame me for my coding style - I'm not a shell hacker ;) The plugin does the following: If you start it without a parameter it will check the host system for updates via pkg_version and security problems via portaudit (if it exists). If you start it with the name of a jail as parameter it will check the jail for updates and security problems. This is done via jexec so you need sudo installed if you call the Nagios plugin with an unprivileged user. Some problems still exist: - sometimes there is an plugin timeout in Nagios, because calling pkg_version can be time consuming - it is not the best idea to give an unprivileged superuser access to jexec without password The plugin works for me at the moment. Hope it will work for you, too. I would be happy if you have any suggestions or improvements. Matthias ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] 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
