creating a perl Script to check service status
Posted: Wed Oct 11, 2017 10:32 pm
Does anyone have a sample perl script for monitoring a service within /etc/int.d?
I've struggled to find one already made and now I must learn how to create one. This would really help me get my feet firmly on the ground.
Basically, I have an asterisk Service on a remote linux server that I want to make sure is running. If not, then generate a warning or critical.
Thank you greatly
I've struggled to find one already made and now I must learn how to create one. This would really help me get my feet firmly on the ground.
Basically, I have an asterisk Service on a remote linux server that I want to make sure is running. If not, then generate a warning or critical.
Thank you greatly