--On Thursday, January 06, 2005 12:15 PM +1100 Craig Reeson <[EMAIL PROTECTED]> wrote:

I had assumed the -P = process/server name and the -c = config file

What we're trying to do is monitoring process' on remote box to see that
thy are within parameter

Any suggestion on how to attack this?

Thats a very generic question, so I'll give a very generic answer: Find or write a monitor script to test the process.

For example, http.monitor can be used to make an HTTP request to a web server and verify it its running and serving pages. Or dns.monitor can be use to send DNS queries to a name server, etc.

If the process you care about doesn't provide some remotely testable service, then you need an agent of some form running on the remote machine that can tell you the process is running. The process.monitor script expects the remote machine to be running the snmp agent from the Net-SNMP package, formerly known as UCD-SNMP. If you have that agent installed, or can install it, edit the config file for the agent and enable the process monitoring functionality. Then process.monitor will be able to report whether snmpd is reporting any failures on the remote machine.

(Alternatively you could write a monitor script which logged into the remote machine and ran a program to test a local service, but I've never taken that approach myself.)



-David Nolan
Network Software Designer
Computing Services
Carnegie Mellon University

_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to