Re: Unknown Object Identifier for log counter
Mudassar <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Attached is the snmp conf file. I think all your required information is in it, i am using opennms to get all this information. # snmptranslate -Dparse-mib -IR logMatchCounter 2>&1 | grep UCD-SNMP parse-mibs: Module 51 UCD-SNMP-MIB is in /etc/sma/snmp/mibs/UCD-SNMP-MIB.txt parse-mibs: Parsing MIB: 51 UCD-SNMP-MIB parse-mibs: Processing IMPORTS for module 51 UCD-SNMP-MIB parse-mibs: Module UCD-SNMP-MIB already loaded parse-mibs: Module UCD-SNMP-MIB already loaded parse-mibs: Module UCD-SNMP-MIB already loaded UCD-SNMP-MIB::logMatchCounter I have complied the latest snmp 5.5 but in above putput it shows the mib txt of build-in mib files. MY Dave Shield wrote: > On 9 March 2010 22:34, Mudassar<[email protected]> wrote: > >> I am getting following error, even i have update the netsnmp to 5.5 but >> still getting this error. also copy all mibs from >> /usr/local/net-snmp-5.4.2.1/mibs/* TO /usr/local/share/snmp/mibs >> >> /proc/940/psinfo: Unknown Object Identifier (Sub-id not found: (top) -> logMatchCounter) >> /proc/999/psinfo: Unknown Object Identifier >> /proc/1000/psinfo: Unknown Object Identifier >> /proc/998/psinfo: Unknown Object Identifier >> >> OS is Solaris 10 sparc. >> > What command(s) are you running? > What exactly is generating this error? > (the agent, command line tools, or what) > > What is the output of the following command: > > snmptranslate -Dparse-mib -IR logMatchCounter 2>&1 | grep UCD-SNMP > > ? > > Dave > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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
snmp.conf.txt
(text/plain, 1.8 KB)
sysLocation Datacenter syscontact [email protected] trapcommunity XXXX trap2sink X.X.X.X trap2sink X.X.X.X trap2sink X.X.X.X trap2sink X.X.X.X trap2sink X.X.X.X trap2sink X.X.X.X rocommunity XXXXXX iquerySecName _internal rouser _internal disk / 10% disk /export 15% disk /export/home 15% disk /var 25% load 24.0 22.0 20.0 proc sshd 30 0 swap 9663676416 logmatch string:What /var/adm/messages 1 Failed password for logmatch string:What /var/adm/messages 1 File system full logmatch string:What /var/adm/messages 1 swap space limit exceeded logmatch string:What /var/adm/messages 1 daemon: cannot fork logmatch string:What /var/adm/messages 1 Not enough space logmatch string:What /var/adm/messages 1 out of memory logmatch string:What /var/adm/messages 1 no swap space to grow stack logmatch string:What /var/adm/messages 1 swap space limit exceeded logmatch string:What /var/adm/messages 1 swap logmatch string:What /var/adm/messages 1 emlxs logmatch string:What /var/adm/messages 1 Link down logmatch string:What /var/adm/messages 1 Link up logmatch string:What /var/adm/messages 1 4Gb, private loop 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 "Low Swap Memory" -o memErrorName -o memSwapErrorMsg -o memSwapError != 0 monitor -u _internal -r 2 "Too Many Processes" -o hrSystemProcesses hrSystemProcesses > 1650 monitor -u _internal -r 2 "High Memory is Consumed" -o hrMemorySize -o memAvailReal memAvailReal > 28311552 monitor -u _internal -r 2 -o logMatchFilename -o logMatchRegEx -o logMatchCurrentCount "String found in logfile" logMatchCounter != 0