Hi,

I am considering adding a new feature to monit, to whit:


monit status <service>

e.g.

monit status spread ; echo $?

Would return

running   0


Which would return a string, and, set an appropriate error code on exit ( e.g. 
0 - OK, 1 - unknown etc)

Unless there is a better way ?

Thanks,
Andrew


=============================
Andrew Holt

Email: [email protected]

De Omnibus Dubitandum
=============================




--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to