You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
subprocess.call(["/usr/bin/logger -s 'Monit: TEST - NO RESTART PERFORMED: Service has been restarted more then 3 times in 10 mins - NO action taken' 2>>/var/log/monit.remita"], shell=True)
The text was updated successfully, but these errors were encountered:
Change the logging from a sub process to python
subprocess.call(["/usr/bin/logger -s 'Monit: TEST - NO RESTART PERFORMED: Service has been restarted more then 3 times in 10 mins - NO action taken' 2>>/var/log/monit.remita"], shell=True)
The text was updated successfully, but these errors were encountered: