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

check_team

Rating
0 votes
Favoured:
0
Last Release Date
2019-09-17
Compatible With
  • Nagios 4.x
License
BSD
Hits
2883
Files:
FileDescription
check_teamThe check implemented in bash
check_team.cfgNRPE configuration file
10_nrpeThe sudo configuration file

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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