[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-users
Subject:    unnecessary alarms of Netsnmp
From:       "Jansen, Mario" <MarioJ () nmc ! kpn ! net>
Date:       2009-09-17 9:45:07
Message-ID: 8C6CA886A38BC9408409DF7A5CDE530103552F9F () OTSGV003V3 ! OTS
[Download RAW message or body]

--===============5408886514573259502==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CA377B.8AABC749"

This is a multi-part message in MIME format.


Hi,

 

I am receiving alarms of the snmp daemon, while everything is ok on the
system (and the values do not return any error)

 

This is my config:

rocommunity  xxxx

 

syslocation  "System administrators office"

 

syscontact  "System administrator"

sysservices 72

 

proc mysqld 2 1

proc "java" 10 1

#monitor or dbdump completed successfully

exec   db_dump_save_log /bin/grep successfully
/opt/scripts/log/backup_archivemanager.log

# This will cause the error messages when walking over the object for
processes, logMatches and filesizes:

trap2sink naos xxxx 162 # snmp v2

agentSecName meme

rouser meme

# This will cause the error messages when walking over the object for
processes, logMatches and filesizes:

#defaultMonitors yes

monitor -o prNames -o prErrMessage "Too many or less processes running"
prErrorFlag != 0

#instead we are using the separate commands to be able to tune it:

#monitor -o memErrorName -o memSwapErrorMsg "memory threshold exceeded"
memSwapError != 0

monitor -o extNames -o extOutput "external script plugin Error"
extResult != 0

monitor -o dskPath -o dskErrorMsg "disk threshold exceeded" dskErrorFlag
!= 0

#monitor -o laNames -o laErrMessage "Load average threshold exceeded"
laErrorFlag != 0

monitor -o fileName -o fileErrorMsg "filesize exceeded" fileErrorFlag !=
0

#monitor -r 120 -o logMatchFilename "Log file keyword found" !=
logMatchCurrentCount

################

createUser meme MD5 "junk" DES

 

When an error occurred of an process I receive the trap with
description: Too many or less processes running and the process that is
down (e.g. Java !=1). Sometimes I receive an trap with the description
Too many or less processes, however the prNames field is empty. This
error also occurs which the other monitor checks.

 

I hope someone knows an solution for this.

 

Regards,

 

Mario Jansen


[Attachment #3 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:#606420;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink="#606420">

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am receiving alarms of the snmp daemon, while everything
is ok on the system (and the values do not return any \
error)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This is my config:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>rocommunity&nbsp; xxxx<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>syslocation&nbsp; &quot;System administrators \
office&quot;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>syscontact&nbsp; &quot;System \
administrator&quot;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>sysservices 72<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>proc mysqld 2 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>proc &quot;java&quot; 10 1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#monitor or dbdump completed \
successfully<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>exec&nbsp;&nbsp; db_dump_save_log /bin/grep successfully
/opt/scripts/log/backup_archivemanager.log<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'># This will cause the error messages when walking over the
object for processes, logMatches and filesizes:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>trap2sink naos xxxx 162 # snmp v2<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>agentSecName meme<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>rouser meme<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'># This will cause the error messages when walking over the
object for processes, logMatches and filesizes:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#defaultMonitors yes<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>monitor -o prNames -o prErrMessage &quot;Too many or less
processes running&quot; prErrorFlag != 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#instead we are using the separate commands to be able to
tune it:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#monitor -o memErrorName -o memSwapErrorMsg &quot;memory threshold
exceeded&quot; memSwapError != 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>monitor -o extNames -o extOutput &quot;external script
plugin Error&quot; extResult != 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>monitor -o dskPath -o dskErrorMsg &quot;disk threshold
exceeded&quot; dskErrorFlag != 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#monitor -o laNames -o laErrMessage &quot;Load average
threshold exceeded&quot; laErrorFlag != 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>monitor -o fileName -o fileErrorMsg &quot;filesize
exceeded&quot; fileErrorFlag != 0<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>#monitor -r 120 -o logMatchFilename &quot;Log file keyword
found&quot; != logMatchCurrentCount<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>################<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>createUser meme MD5 &quot;junk&quot; \
DES<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>When an error occurred of an process I receive the trap with
description: Too many or less processes running and the process that is down
(e.g. Java !=1). Sometimes I receive an trap with the description Too many or
less processes, however the prNames field is empty. This error also occurs
which the other monitor checks.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I hope someone knows an solution for \
this.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Mario Jansen<o:p></o:p></span></font></p>

</div>

</body>

</html>


[Attachment #4 (--===============5408886514573259502==)]
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic