logging for service status
Hi All,
Does logging takes place if we check for the status of any service, is it being logged or are there any options to enable the same. Thanks in advance. |
Hi,
what do you mean by "check the status of any service"? How do you do this? Evo2. |
check the status of a service is
eg: service smbd status, for the above example we get status of samba on the console.but wanted to know whether it is logged or not. |
No, the status of the service isn't logged (syslog), only the command (shell history). If you need regular service status checking, logging (and alerting) you can use Monit, Hobbit, Nagios or equivalent or reinvent the wheel and write your own script.
|
thnx spawn, that's was an interesting solution u have provided.
|
All times are GMT -5. The time now is 06:06 AM. |