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
RE: Help with mon.cf switches
Ok, thanks again for everybodies help I am beginning to understand the way Mon works :) Anyway, I believe I have made some progress.. Mon now gives me the green light on my process monitoring, BUT I get an error like such: Server1 returned an SNMP error: Unknown user name Any ideas? Thanks, Craig -Original Message- From: zalktis [mailto:[EMAIL PROTECTED] Sent: Friday, 7 January 2005 9:49 To: Craig Reeson Subject: RE: Help with mon.cf switches Hi, Arguments (parameters) of mon server and process.monitor spawned for particular watchgroup is completely different things. Maybe - that's the problem? To use process.monitor you should: - install UCD-SNMP/NetSNMP software on target host - configure snmpd on target host, e.g: proc httpd 10 20 # number of httpd-s should be between 10 and 20 - start snmpd on target host (target host = host to check) Then you can manually check (from mon server shell): $ process.monitor -c SNMP_community_if_not_public host or you can add service in mon.cf which will be periodically checked by mon server using process.monitor. e.g: # example -- hostgroup billing bill01.domain.com watchgroup billing service ping service disk-space ... ... service proc exclude_period wd{sun-sat},hr{18-7} description Check of billing processes depend SELF:ping interval 35m randskew 25s monitor process.monitor failure_interval 5m period alertafter 2 alert mail.alert [EMAIL PROTECTED] upalertafter 10s upalert mail.alert -u [EMAIL PROTECTED] -- z __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- 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
RE: Help with mon.cf switches
, 6 January 2005 6:08 To: Craig Reeson Cc: mon@linux.kernel.org Subject: Re: Help with mon.cf switches On Wed, 5 Jan 2005, Craig Reeson wrote: Guys, I'm new to Mon and have taken over a non working install of Mon which I desperately need to get working... Anyway, what does the -P option mean/do? Ie. monitor process.monitor -P augw -C /etc/mon/process.monitor.conf for process.monitor, -P does nothing. i'm not sure what you're trying to do or from where you got that example, but if you elaborate then maybe i can help out. --- 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