Somne questions about the Nagios configuration file
Posted: Wed Sep 25, 2013 10:43 am
Hi,
We are running Nagios Core 3.2.3 on a machine running CentOS 5.9. I have a few questions about the Nagios configuration file.
1)
I noticed the following in one the service definitions: check_command check_nrpe!check_load
Is the ! being used to say run the "check_nrpe" test but not the "check_load" test?
2)
I noticed the following line in a second service defintion: check_imap!-p 993 -S
What is the ! being used for in this line?
3)
I noticed the following line in a third definition: check_http!-S
What is the ! being used for in this line?
I can see that the ! is used as for negation in some service defintion lines but I am not sure if this is true all of the time – especially for #2 and #3 above.
Thanks.
We are running Nagios Core 3.2.3 on a machine running CentOS 5.9. I have a few questions about the Nagios configuration file.
1)
I noticed the following in one the service definitions: check_command check_nrpe!check_load
Is the ! being used to say run the "check_nrpe" test but not the "check_load" test?
2)
I noticed the following line in a second service defintion: check_imap!-p 993 -S
What is the ! being used for in this line?
3)
I noticed the following line in a third definition: check_http!-S
What is the ! being used for in this line?
I can see that the ! is used as for negation in some service defintion lines but I am not sure if this is true all of the time – especially for #2 and #3 above.
Thanks.