Monitoring of Custom scripts in NagiosXI
Posted: Thu Feb 18, 2016 11:24 am
we have script on placed in the server /path/script.sh and output of the script is characters like
‘OK’ if we have >=30 days of time for the certificate to expire.
‘ERROR!’ if it is <30 days for the certificate to expire.
Can it be possible to monitor it in NagiosXI according to the above outputs/thresholds and if yes how to monitor it.
‘OK’ if we have >=30 days of time for the certificate to expire.
‘ERROR!’ if it is <30 days for the certificate to expire.
Can it be possible to monitor it in NagiosXI according to the above outputs/thresholds and if yes how to monitor it.