Monthly Archive for March, 2007

mysqlclient detection in Nagios Plugins

It’s a real pain writing configure scripts. Autoconf makes things easier, but it is really hard to autodetect software correctly.

The plugins are particularly onerous because usually a single executable, say check_ldap, has requirements that no other plugin has.

Lately, I’ve been trying to work out what’s the best way of detecting mysqlclient. For pre-1.4.7, we used mysql_config to gives us the list of necessary libraries at compile time. On my Debian server, mysql_config --libs says: -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm. This was a much better way than trying to manually work out all the various libraries required. So configure said: “if mysql_config exists, compile check_mysql”.

Good, eh? Nope.
Continue reading ‘mysqlclient detection in Nagios Plugins’

Bookmark and Share

Installing the Nagios Plugins

There has been a bit of confusion about how the Nagios Plugins distribution installs the core C and script plugins. A common scenario is that the plugins are owned as the nagios user. We try to use the standard GNU tool chain mechanisms to install executables and, funnily enough, there is no documented support for installing as a specific user or group.

This is complicated by the fact that there are two plugins, check_dhcp and check_icmp, which have to be run as root, so need to be installed with the setuid bit on and the owner as root.
Continue reading ‘Installing the Nagios Plugins’

Bookmark and Share

LinuxWorld.com – Top 5 Open Source Security Tools in the Enterprise

Nagios is rated by LinuxWorld.com as being one of the Top 5 Open Source Security Tools in the Enterprise! Source: LinuxWorld.com, March 12th, 2007 Article.

Bookmark and Share

NagiosCommunity.org site goes live

The NagiosCommunity.org site was officially launched yesterday, despite the fact that I failed to send an announcement email out. :-) The site was linked from Nagios.org yesterday and a number of users have signed up for the blog and wiki in the first 24 hours. An official email announcement will be going out today – I promise! Thanks to Max Hetrick, Mark Young, and Alessandro Martins for their help in getting the site up and ready.

Bookmark and Share

French translation of Nagios 2.x docs ready

Patrick Proy just informed me that the French translation of the Nagios 2 documentation is ready to go. It has been linked on the wiki for those who are interested. Thanks to everyone who helped work on the translation: Erwan Ben Souiden, Hervé Bouchind’homme, René Coulet, Philippe Delsol, Xavier Dusart, Johan Moreau, Hervé Nicol, and Patrick Proy. Kudos!

Bookmark and Share