I have a tacacs+ monitoring script that successfully detects failures
when run from the command-line but not from within mon. I'm at a loss
to troubleshoot this one and am hoping the list can help. It seems to
be printing the failure in the proper format and setting the exit code
properly, but mon never sees the service as down.
-bash-2.05b$ ./tacacs.monitor username password key server1 server2
server1
server1: Attempt timed out!
-bash-2.05b$ echo $?
1
watch acs_servers
service tacacs
description Make sure TACACS is working
interval 15m
monitor /usr/local/mon/tacacs.monitor username password key
period wd {Sun-Sat}
alert mail.alert [EMAIL PROTECTED]
upalert mail.alert -S "Service is back up" [EMAIL PROTECTED]
alertevery 15m
Thanks in advance,
Brian
--
Brian Landers
Senior Network Engineer
Sapient IT Infrastructure
_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon