HP XC System Software Administration Guide Version 4.0

Table Of Contents
Ok
Unkown
Pending
Nagios hosts status.
Nagios services status.
Nagios monitors status.
A list of nodes that are up or down.
For additional information about this utility, see nrg(8). Help is also available by entering the
following command:
# nrg --help
--help
--verbose - Report more details
--log|l - logfile, default $statuslog
--severity [c,w,o,u,p] - default is all
c - critical, w - warning, o - ok,
u - unknown, p - pending
--hosts - Only list hosts status
--services - Only list service status
--monitors - Only list monitor status
--up - Only up nodes
--down - Only down nodes
--sort t,h,s - Sort by (t)ime, (h)ost, (s)ervice
--sort [c,w,o,u,p] - Summary mode only (as cwoup as in severity)
--mode - Report mode: (f)ull, (s)ummary, (r)aw, (w)atch, (a)nalyze
--html - Generate html instead of plain text
--prefix pppp - Specify node prefix (for imported status.logs)
8.7 Modifying Nagios To Effect Changes
From the head node, you must rebuild the vars.ini file any time you modify the
nagios_vars.ini for the changes to take effect:
1. Edit the /opt/hptc/nagios/etc/nagios_vars.ini file with the changes you want to
make.
2. Save your changes to the file.
3. Rebuild the file:
# /opt/hptc/nagios/libexec/check_nagios_vars --rebuild
4. Push the updated file to all managed systems:
# pdsh -a -x `headnode` /opt/hptc/nagios/libexec/check_nagios_vars --syncvars
130 Monitoring the System with Nagios