Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_team

Rating
0 votes
Favoured:
0
Last Release Date
2019-09-17
Compatible With
  • Nagios 4.x
License
BSD
Hits
6672
Files:
FileDescription
check_teamThe check implemented in bash
check_team.cfgNRPE configuration file
10_nrpeThe sudo configuration file
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check if all network teamed links are up on a linux system.
Tested on RHEL7 with selinux enforced and nrpe_user=nrpe.

Note that the check runs as root via sudo, so take care of the file permissions.
File ownership/permissions are documented in the files themselves.
When selinux is enabled the seboolean nagios_run_sudo should be on.
From RHEL7.6 on you may need to add entry "+:nrpe:LOCAL" in /etc/security/access.conf to prevent errors like : pam_access(sudo:account): access denied for user `nrpe' from `'

example run with 2 team-slaves and no errors:

call:
check_nrpe -H targethost -c check_team

result:
OK - Links up : 2

and exitcode 0