Page 1 of 1
Need a boolean "or" statment in a check
Posted: Wed Dec 14, 2011 10:48 am
by jon.bilderback
Our website is load balanced, so when nagios runs a dns match check, it can actually get 2 possible IP address returns. Is there a boolean "or" statement I can use in the check for this?
Re: Need a boolean "or" statment in a check
Posted: Wed Dec 14, 2011 11:30 am
by scottwilkerson
Jon,
The DNS IP match can take multiple -a IP's in $ARG1$
So, under
Configure > Core Config Manager > Services > DNS IP Match > Modify
Where you see:
$ARG1$ -a xxx.xxx.xxx.xxx
you can make it
$ARG1$ -a xxx.xxx.xxx.xxx -a 1.1.1.1
Re: Need a boolean "or" statment in a check
Posted: Thu Dec 15, 2011 12:05 pm
by jon.bilderback
That worked great.
Thank you.