Merging Multiple Nagios Check Outputs Using Macros

Macros in Nagios are a powerful tool. There are countless (see link) macros in existence that allow users to obtain Nagios check data easily. Among such macros, there exists $SERVICEOUTPUT$ that replaces itself with a string of the output of a chosen service. To specify such a service you can use the following syntax: $SERVICEMACRONAME:host_name:service_description$ […]

The WMI Plus File Checks

The WMI Plus nagios plugin (found at http://www.edcint.co.nz/checkwmiplus/?q=overview) is an agentless ‘agent’ that comes with several different built in checks. One particularly useful WMI Plus check is the checkfiles collection of checks which consist of checkfileage and checkfilesize. Note that you will need to either feed your username and password into the command or make […]

Nagios Monitoring: Planning is the Hallmark of Intelligence

“Planning is the Hallmark of Intelligence” With Nagios Monitoring implementations, “Planning is the Hallmark of Intelligence”. Actually I borrowed that phrase from some animal show about squirrels and how squirrels become better planners each season, as they build the skill of planning. It was some evidence of animal learning, but what really stuck in my […]

Trick: compile latest Nagios NRPE agent and plugins for MacOS with SSL

Steps to build the latest Nagios NRPE agent and nagios-plugins package for MacOS with SSL support: Download openssl-0.9.8zh.tar.gz Unpack and compile openssl-0.9.8gz (but do not “make install”): tar xzf openssl-0.9.8zh.tar.gz -C /tmp cd /tmp/openssl-0.9.8zh ./config make Download nagios-plugins-2.1.2.tar.gz. Unpack and compile nagios-plugins: cd – tar xzf nagios-plugins-2.1.2.tar.gz -C /tmp/ cd /tmp/nagios-plugins-2.1.2 ./configure –with-openssl=/tmp/openssl-0.9.8zh –enable-perl-modules make […]