Changeset 2152 for trunk/server/fedora


Ignore:
Timestamp:
Mar 26, 2012, 12:43:38 AM (11 years ago)
Author:
adehnert
Message:
Split out AFS nagios checks
Location:
trunk/server/fedora/config/etc/nagios
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/nagios/check_afs

    r2023 r2152  
    22. /usr/lib64/nagios/plugins/utils.sh
    33
    4 CHECKS=`/usr/bin/fs checks -all -fast`
     4if [ $# -ge 1 ]; then
     5    CHECKS=`/usr/bin/fs checks -cell "$1" -fast`
     6else
     7    CHECKS=`/usr/bin/fs checks -all -fast`
     8fi
     9
    510STATUS=$?
    611
  • trunk/server/fedora/config/etc/nagios/nrpe.cfg

    r1936 r2152  
    219219command[check_postfix_mailq]=/usr/lib64/nagios/plugins/check_mailq -w 500 -c 1000 -M postfix
    220220command[check_afs]=/etc/nagios/check_afs
     221command[check_afs_athena]=/etc/nagios/check_afs athena
     222command[check_afs_sipb]=/etc/nagios/check_afs sipb
    221223command[check_cron_working]=/etc/nagios/check_cron_working
    222224command[check_ldap_mmr]=/etc/nagios/check_ldap_mmr
Note: See TracChangeset for help on using the changeset viewer.