I’m looking for some way to monitoring on Linux systems running application or scripts. For example, postfix, mysqld, or simply checking the result of the implementation of the /etc/init.d/postfix status.
Regards,
Edward
Monitoring running applications on Linux
Re: Monitoring running applications on Linux
This should be as simple as writing a shell script to run, for example, "service postfix status" and comparing the output for OK/Critical.
Former Nagios employee
Re: Monitoring running applications on Linux
Thanks tmsdonald shell script is good idea but i found simpler way: http://linuxsysadminblog.com/2009/02/na ... s-running/
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring running applications on Linux
That works fine as well, and is essentially the same thing tmcdonald recommended. Glad to see it works for you!