mika’s advent calendar – day 23: nagios
Nagios is a well known and established Open Source Monitoring System. It’s flexible, easy to deploy and a tool every sysadmin should know how to deal with. I guess most readers of my blog use or at least know Nagios so I’ll keep this blog entry short. But one tip for sysadmins managing Debian systems:
# /usr/lib/nagios/plugins/check_apt APT OK: 0 packages available for upgrade (0 critical updates).
check_apt (being shipped as part of nagios-plugins-basic on Debian) is great if you don’t want to use apticron, cron-apt & CO but instead integrate system updates/upgrades into your monitoring infrastructure.
December 23rd, 2008 at 22:13
That reminds me of a Nagios installation I recently fixed. It was (among other things) using check_yum for CentOS, unfortunately it was timing out rather often due to the “includepkgs” feature in yum(8).
As long as specific package names are used everything works quite fast, but if you start using ‘*’ (e.g. nagios*) you basically invite timeouts. The filtering is just frelled.