unnecessary alarms of Netsnmp
by Jansen, Mario
 |
REPLY TO AUTHOR
|
 |
|
|
 |
REPLY TO GROUP
|
 |
|
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
Bookmark with:
Delicious
Digg
reddit
Facebook
StumbleUpon
opensubscriber is not affiliated with the authors of this message nor responsible for its content.
|