4.7.1 Using the Nagios Plugins

To monitor all of your machines, run the following command:

# /usr/lib/nagios/plugins/check_uptrack

This command produces a summary about your machines in the standard Nagios plug-in format, for example:

2 machines are OUTOFDATE!|uptodate=1280;outofdate=1;unsupported=0;inactive=3
  prod1.mydom.com ( is OUTOFDATE
  prod2.mydom.com ( is OUTOFDATE

If you specify the -c or -w options with a comma-separated list of the arguments i, o, or u for inactive out of date, or unsupported machines, check_uptrack displays critical or warning notices for machines that match that criteria.

For example, the following command returns warning notices for any machines that are inactive or unsupported, as well as critical notices for any machines that are out of date:

/usr/lib/nagios/plugins/check_uptrack -w u,i -c o

To monitor the local machine, you can use the check_uptrack_local plugin.

# /usr/lib/nagios/plugins/check_uptrack_local

The output from check_uptrack_local is similar to that from check_uptrack. However, for out-of-date machines, the command also lists the updates that are required to bring the machine up to date.


check_uptrack_local reads the local Uptrack update cache. It does not use the settings in /etc/uptrack-api.conf.