unnecessary alarms of Netsnmp

"Jansen, Mario" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
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
[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.