Re: process.monitor
* Nathan Gibbs wrote: Just updated the process monitor. http://www.cmpublishers.com/oss/ Reduced bandwidth usage when the -p option is used. (Originally, we continued pulling proc table entries after we found the proc ) Code Polishing Enjoy. -- Sincerely, Nathan Gibbs Systems Administrator Christ Media http://www.cmpublishers.com signature.asc Description: OpenPGP digital signature ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
process.monitor
In celebration of Labor Day ( US ). The improved process.monitor. Get it while its hot! http://www.cmpublishers.com/oss/ Improvements include Added ability to query for a specific process. -p option ( nuf said ) Added support for the HOST-RESOURCES-MIB. -u option ( now you can query everything ) Added connection specific options for timeouts retries. -t -r options ( might as well, since I was at it ) Code Cleanup Enjoy. -- Sincerely, Nathan Gibbs Systems Administrator Christ Media http://www.cmpublishers.com signature.asc Description: OpenPGP digital signature ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
process.monitor problems
Hi, when i run ./process.monitor -c More_AcceSS_on_5353 host 10.32.3.51 i get this error: Can't locate object method new via package SNMP::Session (perhaps you forgot to load SNMP::Session?) at ./process.monitor line 50. I use this for testing before i modify my min.cf, how can i solve this ? TIA Patrick ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: process.monitor problems
On Mon, 25 Apr 2005, Patrick Marquetecken wrote: Hi, when i run ./process.monitor -c More_AcceSS_on_5353 host 10.32.3.51 i get this error: Can't locate object method new via package SNMP::Session (perhaps you forgot to load SNMP::Session?) at ./process.monitor line 50. I use this for testing before i modify my min.cf, how can i solve this ? it sounds like you don't have net-snmp's SNMP perl module installed. you can get the latest from net-snmp.org. the installation instructions are in the tarball. fedora core 3 ships the rpms, so if you're using linux on an rpm-based system you may want to try to install that instead. ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Re: Help with mon and process.monitor
--On Tuesday, January 11, 2005 2:07 PM +1100 Craig Reeson [EMAIL PROTECTED] wrote: Now I am getting a SNMP timeout issue (using monshow.cgi). I have tried increasing the timeout in process.monitor but it has made no difference. However, if I just run 'process.monitor -c mycom 172.28.47.60' then it works! I assume your test runs of process.monitor are on the same machine as your mon server. Are you logged in as the user that your mon server runs as? i.e. could it be something about your login environment thats allowing the script to work. Can you post a snippet of your mon.cfg, showing the group definition and the service definition? Also, you might want to try running this monitor script to verify that SNMP transactions with the target host are working. https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/~checkout~/src/netsage/mon/mon.d/host.monitor?rev=1.9 (Thats the script we use to verify that the host is responding to snmp, and test the load average.) -David Nolan Network Software Designer Computing Services Carnegie Mellon University ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Help with mon and process.monitor
Guys, I am still having difficulty getting this to work (fixed previous issues, the mon.cf I was given was wrong). Now I am getting a SNMP timeout issue (using monshow.cgi). I have tried increasing the timeout in process.monitor but it has made no difference. However, if I just run 'process.monitor -c mycom 172.28.47.60' then it works! Any ideas? Need more details? Thanks, Craig --- This email and any files transmitted with it are solely intended for the use of the addressee(s) and may contain information that is confidential and privileged. If you receive this email in error, please advise us by return email immediately. Please also disregard the contents of the email, delete it and destroy any copies immediately. Computershare Limited and its subsidiaries do not accept liability for the views expressed in the email or for the consequences of any computer viruses that may be transmitted with this email. This email is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. ___ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon
Checking Perl processes (process.monitor is not suitable)
I wish to check that a particular process is running. The obvious solution is: Use process.monitor. But the Net-SNMP's prTable only stores the name of the executable and can only check it (on the proc directives of snmpd.conf), not the full command-line. Which means that I can check that 'sshd' is running, not that 'perl foobar.pl' is running. The only solution I see is to write my own monitor which will check host.hrSWRun.hrSWRunTable.hrSWRunEntry.hrSWRunParameters and will test it against its list (it also have the side-effect of putting the list of processes to watch in the SNMP client, not in the server). Comments ?
Re: Checking Perl processes (process.monitor is not suitable)
On Fri, Aug 31, 2001 at 12:53:44PM +0100, Alex David Shadrach Hooper [EMAIL PROTECTED] wrote a message of 13 lines which said: How about putting $0 = 'foobar'; at the top of your Perl script? Because it doesn't work. Test it if you don't believe me. (FreeBSD 4.1.1, both ps and snmpd continue to show 'perl'.)