RE: snmpwalk is not working

"Myasin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <044201c9ecd3$9524eed0$bf6ecc70$@com>
Hi,

We monitor more than 500 log file entries in snmp. Change in following file
and compile it, it is working fine.

usr/local/net-snmp-5.4.2.1/agent/mibgroup/ucd-snmp/logmatch.c
#define MAXLOGMATCH   1500

But after changing the log entries in snmpd.conf file, it is not working, I
use the following snmpwalk command 
snmpwalk -c snmpstring -v 1 ip
Timeout: No Response from ip

#############snmpd.conf###################
sysLocation     Datacenter
syscontact      Email 
trapcommunity   default
trap2sink       x.x.x.x
trap2sink       x.x.x.x
rocommunity     snmpsting
createUser    _internal MD5 "abc"
iquerySecName _internal
rouser        _internal

view systemview included .1

disk / 7%
swap 15872025
load 5.0 4.8 4.5
proc sshd 25 1
proc java 20 1

LOgs entries (apro 500)

monitor -u _internal -r 1 -o dskPath -o dskErrorMsg -o dskTotal "Disk
threshold exceeded" dskErrorFlag != 0
monitor -u _internal -r 1 -o prNames -o prErrMessage -o prCount "Process not
running" prErrorFlag != 0
monitor -u _internal -r 2 "High Memory is Consumed" -o hrMemorySize -o
memAvailReal memAvailReal > 410000
monitor -u _internal -r 2 -o logMatchFilename -o logMatchRegEx -o
logMatchCurrentCount "String found in logfile" logMatchCounter != 0
monitor -u _internal -r 2 -o hrSWRunName "high process memory"
hrSWRunPerfMem > 1000000000
monitor -u _internal -r 2 -o hrSWRunName "igh memory" memTotalReal.0 > 10
#monitor -u _internal -r 2 -o memErrorName -o memSwapErrorMsg "memory"
memSwapError != 0
monitor -u _internal -r 2 "Too Many Processes" -o hrSystemProcesses
hrSystemProcesses > 200

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

Mudasar 



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
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.