[Linux-HA] What should 'monitor' do?

Adam Moffett adam at plexicomm.net
Wed Oct 5 07:52:14 MDT 2005


If I create a resource script with a monitor action, what should it 
report when asked to 'monitor'?

I looked at the IPaddr resource and it reports either "OK" or "down".  
Whereas the Apache resource either returns a status of 1 (true) or 
something like "httpd not running".

So I'm guessing there's multiple results that can mean the resource is 
doing alright and anything else means the resource is not alright.  Is 
that accurate?

How is this better/different from the "status" operation?



More information about the Linux-HA mailing list