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.
Somne questions about the Nagios configuration file
-
itIsMrKevin
- Posts: 28
- Joined: Tue Oct 23, 2012 1:28 pm
Re: Somne questions about the Nagios configuration file
'!' is a field delimiter/separator, not a logical operator in the check_command directive.itIsMrKevin wrote: 1)..
2)..
3)..
It separates the check_command from the $ARGn$ fields.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
itIsMrKevin
- Posts: 28
- Joined: Tue Oct 23, 2012 1:28 pm
Re: Somne questions about the Nagios configuration file
Hi abrist,
Thanks for the reply. You answered my question. Feel free to close this thread out.
Thanks for the reply. You answered my question. Feel free to close this thread out.
Re: Somne questions about the Nagios configuration file
No problem, happy monitoring.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.