05-22-2012
Ahh - good to know. See, *this* is an explanation others might be able to make use of when they have the same or similar problem: check, if there isn't another snmp-agent which truncates the message already.
This makes all the difference between having the opportunity to learn something and wasting our collective time.
Thank you - this is meant in earnest.
bakunin
10 More Discussions You Might Find Interesting
1. Solaris
hi i am able to see the snmpd service running in my machine. i would like to get activate snmptrapd deamon services in my solaris box, could any one suggest me in getting activate the snmptrapd service (0 Replies)
Discussion started by: praveen.yenegal
0 Replies
2. UNIX for Dummies Questions & Answers
Hi All
Can anybody tell me how to configure snmptrapd.conf ?
Thanx (0 Replies)
Discussion started by: jeenat
0 Replies
3. UNIX for Dummies Questions & Answers
i tried this to get snmptrapd.conf bt unable...
# snmpconf
The following installed configuration files were found:
1: /etc/snmp/snmp.conf
2: /etc/snmp/snmpd.conf
3: /usr/share/snmp/snmp.conf
4: /usr/share/snmp/snmpd.conf
Would you like me to read them in? Their... (0 Replies)
Discussion started by: jeenat
0 Replies
4. Shell Programming and Scripting
Hi folks,
I have tried to add some trap detection in the below script....this script is used to monitor database activities...in a rather awkward way :rolleyes:....
The idea behind adding trap is that....this script creates lots of temporary files in the running folder to store the count... (1 Reply)
Discussion started by: frozensmilz
1 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
Below what I saw on my solaris 10 box :
$ prstat
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU
PROCESS/NLWP
683 root 4082M 91M run 10 0 41:45:39 96% snmptrapd/1
syslog gives a lot of :
snmptrapd: illegal
data attempted to be added to table nlmLogVariableTable... (0 Replies)
Discussion started by: Gino_75
0 Replies
6. UNIX for Advanced & Expert Users
Hi everybody,
I'm trying to run a SNMP supervisor on Debian Lenny to supervise Uninteruptible Power Systems which support SNMP. I've installed snmp and snmpd debian packages for NET-SNMP 5.4.1 et i've configured /etc/snmp file with the snmpconf perl script :
file /etc/snmp/snmp.conf
#... (0 Replies)
Discussion started by: dedibox
0 Replies
7. Shell Programming and Scripting
Hello,
I need a hand please to do with trapping a variable.
Basically I hold todays date in $lDate in form YYYYMMDD (e.g. 20120323)
and I do:
if test -f $impdata/DE${lDate}.ftp
then
DO STUFF!
which works correctly.
However the provider is now giving my an offset date (e.g.... (3 Replies)
Discussion started by: chas
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
trying to get snmp traps logged in /var/log/messages.
I put this option in snmptrapd.conf:
logOption Ls d
then restarting the snmptrad daemon I got this warning:
Unknown token: logoption.
and server is not logging traps. Starting snmptrapd manually works, traps are logged.... (0 Replies)
Discussion started by: neutrino
0 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
That is the last reply I received from my instructor, and I'm looking for some alternatives.
When using... (2 Replies)
Discussion started by: newuser45
2 Replies
10. UNIX for Beginners Questions & Answers
I need to configure snmptrap on rhel 8 server and send trap to nimsoft for file system , memory and cpu load and network diconnection status.
please help me, if any one configured. (1 Reply)
Discussion started by: yash_message
1 Replies
LEARN ABOUT CENTOS
net-snmp-config
net-snmp-config(1) Net-SNMP net-snmp-config(1)
NAME
net-snmp-config - returns information about installed net-snmp libraries and binaries
SYNOPSIS
net-snmp-config [OPTIONS]
DESCRIPTION
The net-snmp-config shell script is designed to retrieve the configuration information about the libraries and binaries dealing with the
Simple Network Management Protocol (SNMP), built from the net-snmp source package. The information is particularly useful for applications
that need to link against the SNMP libraries and hence must know about any other libraries that must be linked in as well.
OPTIONS
--version
displays the net-snmp version number
--indent-options
displays the indent options from the Coding Style
--debug-tokens
displays a example command line to search to source code for a list of available debug tokens
SNMP Setup commands:
--create-snmpv3-user [-ro] [-a authpass] [-x privpass]
[-X DES|AES] [-A MD5|SHA] [username]
These options produce the various compilation flags needed when building external SNMP applications:
--base-cflags
lists additional compilation flags needed for external applications (excludes -I. and extra developer warning flags, if any)
--cflags
lists additional compilation flags needed
--libs lists libraries needed for building applications
--agent-libs
lists libraries needed for building subagents
--netsnmp-libs
lists netsnmp specific libraries
--external-libs
lists libraries needed by netsnmp libs
--netsnmp-agent-libs
lists netsnmp specific agent libraries
--external-agent-libs lists libraries needed by netsnmp libs
Automated subagent building (produces an OUTPUTNAME binary file): [This feature has not been extensively tested, use at your own risk.]
--compile-subagent OUTPUTNAME [--norm] [--cflags flags]
[--ldflags flags] mibmodule1.c [...]]
--norm leave the generated .c file around to read.
--cflags flags
extra cflags to use (e.g. -I...).
--ldflags flags
extra ld flags to use (e.g. -L... -l...).
Details on how the net-nsmp package was compiled:
--configure-options
Display original configure arguments
--snmpd-module-list
Display the modules compiled into the agent
--prefix
Display the installation prefix
V5.7.2 16 Nov 2006 net-snmp-config(1)