09-04-2010
snmp on solaris
hello,
please, can any one help me to find a set of information to configure snmp in solaris 10 to send traps to manager
urgent
please
thanks
10 More Discussions You Might Find Interesting
1. Solaris
All,
I downloaded and installed the following net-snmp from the sourceforge.net website on a Solaris 9 server with the entire collection installed:
net-snmp-5.1.2-SunOS_5.9_sun4u.tar.gz
with no errors.
I attempt to run snmpget and I get the following error:
ld.so.1: snmpget: fatal:... (1 Reply)
Discussion started by: bubba112557
1 Replies
2. Solaris
hello
I am running solaris 8 sparc.
I installed net-snmp 5.4.1 (compiled it from tar file).
When I do snmpwalk from another server, I receive a partial list of OIDs then it stops and gives 'timeout. No response...'
another snmpwalk will directly timeouts.
I compiled again the binaries... (1 Reply)
Discussion started by: melanie_pfefer
1 Replies
3. Solaris
Hi,
I want the list of SNMP traps supported by Solaris 10. DO anyone has the list prepared.
Regards,
Rajesh (1 Reply)
Discussion started by: grrajeish
1 Replies
4. Solaris
Hi there,
I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions.
My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below.
Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies
5. Solaris
I'm unable to see any traps being sent from my Solaris 10 server using Net-snmp 5.4.2 Here is my snmp conf file. Please let me know if there are any syntax issues you might notice.
cat /etc/sma/snmp/snmpd.conf
###########################################################################
#
#... (1 Reply)
Discussion started by: soupbone38
1 Replies
6. Infrastructure Monitoring
Hi all,
I am currently doing a project regarding traps and would like to help me in this issue. I am knew to the trap world :confused::) and thought that by posting this thread helps me move forward in this project.
First of all I will begin exactly from the very beginning, i.e. the net-snmp... (0 Replies)
Discussion started by: Wizard_1979
0 Replies
7. Infrastructure Monitoring
hello,
I have installed netsnmp-5.1.1-sol8-sparc-local under sun solaris 5.8, but when il write:
snmpwalk -v1 -c public localhost memory
I have not information about memory, il displays me:
End of mib
Can any one help me
thanks (1 Reply)
Discussion started by: lamou23
1 Replies
8. Infrastructure Monitoring
hello,
I have installer netsnmp on sun solaris 5.10, bur when I write this:
/usr/local/bin/snmpwalk -v1 -c public localhost
I have this error:
ld.so.1: snmpwalk: fatal : libcrypto.so.0.9.8 : failed to open: no such file or directory
can any one help me please... (7 Replies)
Discussion started by: lamou23
7 Replies
9. Solaris
Hi All,
I was looking for MIBs for getting CPU & Memory Usage from Solaris
Machine ( Ver 2.8 ). I came across 2 mibs which provides this info.
Those are HOST-RESOURCES-MIB and UCD-SNMP Mibs. But when I query the
machine for these mibs, it is not returning any value. I would like to
know... (2 Replies)
Discussion started by: lamou23
2 Replies
10. UNIX for Advanced & Expert Users
I am using the following command to successfully send snmp traps on Linux but I cant get it to work on Solaris , can someone give me the syntax plz?
Linux:
/usr/sbin/snmptrap -v 2c -c org 10.100.10.211 \'\' 1.3.6.1.4.1.791.2.9.2 1.3.6.1.4.1.791.2.9.2 s \"$1 \"
Solaris:... (5 Replies)
Discussion started by: aliyesami
5 Replies
LEARN ABOUT SUSE
send_easy_trap
SNMP_TRAP_API(3) Net-SNMP SNMP_TRAP_API(3)
NAME
send_easy_trap, send_trap_vars, send_v2trap - send TRAPs or INFORMs from a Net-SNMP MIB module
SYNOPSIS
#include <net-snmp/agent/agent_trap.h>
void send_easy_trap(int trap, int specific);
void send_trap_vars(int trap, int specific, struct variable_list *vars);
void send_v2trap(struct variable_list *vars);
DESCRIPTION
These three routines may be used to send traps from a MIB module within the Net-SNMP agent (including an AgentX subagent).
send_easy_trap() sends an SNMPv1 trap (or the SNMPv2 equivalent) to the list of configured trap destinations (or "sinks"), using the pro-
vided values for the generic trap type, and specific trap value.
send_trap_vars() is similar, but appends the supplied list of variable bindings to the traps that are sent.
send_v2trap() uses the supplied list of variable bindings to form an SNMPv2 trap, which is sent to SNMPv2-capable sinks on the configured
list. An equivalent INFORM is sent to the configuredq list of inform sinks. Sinks that can only handle SNMPv1 traps are skipped.
The various "send_trap()" calls allow you to specify traps in different formats. And the various "trapsink" directives allow you to spec-
ify destinations to receive different formats. But *all* traps are sent to *all* destinations, regardless of how they were specified.
I.e. it's
___ trapsink
/
send_easy_trap ___ [ Trap ] ____ trap2sink
___ [ Generator ]
send_v2trap / [ ] ----- informsink
____
trapsess
*Not*
send_easy_trap -------------------> trapsink
send_v2trap -------------------> trap2sink
???? -------------------> informsink
???? -------------------> trapsess
WARNINGS
These routines are used to send the traps immediately they are called. Invoking them at the appropriate time is left to the MIB module
programmer.
SEE ALSO
snmpd.conf(5), snmptrapd(8)
4.2 Berkeley Distribution 7 Mar 2002 SNMP_TRAP_API(3)