Re: Another Dummy Questions

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, 7 Nov 2006 09:52:57 +0800 Mohd wrote:
MNMY> If i had a program running in the server. And i would like to monitor the
MNMY> program status all the time. Right now, i'm just do some crond to check the
MNMY> status of the program. like ps -elf | grep commongateway. If the value is
MNMY> true, do nothing and if not, try to run the program back. The problem is,
MNMY> there are to many program i should monitor and if there are problem with the
MNMY> program, i wouldn't know until i read the log. So my question is, if it
MNMY> possible, if i use this net-snmp application to send traps (using
MNMY> crondjob)to NMS to tell that the program were down. I do not know if it
MNMY> possible. I'm new and i'd a litle time to explore all the snmp's. Please
MNMY> help.

Dave's suggestion would let snmpd do the monitoring, but if you want to stick
with your cron jobs, you can use the snmptrap command line app to send traps
from your scripts...

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.