running script remotely when nagios alert goes green/good/ok
Posted: Tue Jul 02, 2019 3:39 pm
How can i make nagios run a script remotely when oracle alert goes away.(Oracle comes backup) Like connection time.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
if [[ "$SERVICESTATETYPE" == "HARD" && "$SERVICESTATE" == "CRITICAL" ]]; thenCode: Select all
if [[ "$SERVICESTATETYPE" == "HARD" && "$SERVICESTATE" == "OK" ]]; then