Hi all,
Maybe someone can help me.
We are a company with FuelStations.
I want to monitor all fuelstations if they are online (for payment at the gasstation)
I made a job with e-mailnotification.
I used the ping (ICMP) option to check every 5 minutes.
When ping fails, I get a notification -> on error ->e-mail with the variables I need.
When ping is succesfull I don't want a e-mail, -> success -> next task
What I want to acomplish is the following.
When ping fails -> on error -> e-mail with the variables I need.
When the Fuelstation is back online again -> I want a notification with the variables I need.
I played around with exit-code 77777 change to 0 then e-mail, but I can't get it to work.
But when the last error code was 0 (succesfull) I don't want an e-mail.
I hope you understand,
Can someone help me?
Edited by moderator
2017-04-14T14:19:17Z
|
Reason: Not specified