Questions tagged [net-snmp]

Common set of SNMP tools for *nix and Windows environments.

SNMP-NET

Widely used set of SNMP CLI tools, GUI and snmpd (for traps). Great docs and books written about this tool set. If you're walking down the SNMP road, this is the place to start!

651 questions
4
votes
1 answer

SNMP giving authorization issues: Error in packet

I have started jboss EAP 6.4 server with following parameter: JAVA_OPTS: -server -XX:+UseCompressedOops -verbose:gc -Xloggc:"/home/sshekhar/EAP-6.4.0/test02/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps…
Swaraj Shekhar
  • 187
  • 1
  • 7
  • 28
4
votes
3 answers

snmpget: No such object available on this agent at this OID

I am trying to add my own MIB-Module into a snmp agent, following this tutorial: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module Now, I followed the tutorial step by step and doubled checked everything, searched a really long time…
Christian
  • 63
  • 1
  • 1
  • 8
4
votes
2 answers

Service snmpd restart issue

I am facing this particular error /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd when I restart the snmpd service on my computer. Whenever I do the sudo service snmpd restart, it gives me the error shown…
nitin
  • 49
  • 1
  • 8
4
votes
1 answer

do parameter attributes change a powershell script output somehow?

i'm using net-snmp extension features to be able to run a powershell script when i query a specific SNMP oid. snmpd is configured to run a get-storageinfo.ps1 script with some parameters. the script is being invoked like this by the net-snmp…
JayST
  • 61
  • 3
4
votes
1 answer

SNMP over DTLS or SNMPv3

What is the Major difference in SNMP over DTLS and SNMPv3 USM model, which one to prefer. TLS and DTLS make use of the Transport Security Model (TSM) security model, defined in RFC5591 which was created as an alternative to the USM security model
anish
  • 6,884
  • 13
  • 74
  • 140
4
votes
2 answers

Net-SNMP include header file error in Code::Block

I am using Code::Block IDE just recently, not really familiar with it. And I have this project that need to use C API from Net-SNMP. I've download it, "Add Files" into the project, and link the new library (Build Options > Search Directories tab >…
shinega
  • 113
  • 1
  • 4
  • 13
4
votes
6 answers

Warning: Failed to connect to the agentx master agent ([NIL])

I have installed net-snmp5.7.2 on my system, I have written my app_agent.conf for my application and agentXSocket udp:X.X.X.X:1610 and exported SNMPCONFIGPATH=path_to_app_agent.conf I have also wrtten snmpd.conf in…
Sudip
  • 523
  • 2
  • 7
  • 14
3
votes
1 answer

is it possible to programatically change an executable name (ucmd) of a unix process?

Is it possible to programatically change an executable name (ucmd) of a unix process as reported by ps? unix/POSIX way would be nice but Linux specific solution would suffice. I want to change what is reported here > ps -o ucmd CMD zsh ps not…
3
votes
1 answer

What does the mteTrigger option in snmpd's SNMPDOPTS do?

I am trying to determine why a number of sites are recommending the mteTrigger,mteTriggerConf optons below be placed as options in SNMPDOPTS for snmpd's /etc/default/snmpd (Ubuntu). SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I…
3
votes
3 answers

SNMP's default OID access

I have written a custom SNMPV2C agent (agentx protocol) extending netsnmp, As of now I am allowing view access to all in snmpd.conf as follows view all included .1 it exposes mgmt (RFC1213 ) which looks fine, it also exposes snmpV2 mib's ( snmpMIB,…
DevC
  • 7,055
  • 9
  • 39
  • 58
3
votes
2 answers

snmpwalk failed with authorizationError

I tried to execute: snmpwalk -v 3 -u snmpv3username -A -a MD5 -l authNoPriv localhost .1.3.6.1.4.1.334.72.1.1.6.2.1.0 However, I got the following error: Error in packet. Reason: authorizationError (access denied to that object) I have…
widj91942
  • 95
  • 1
  • 1
  • 7
3
votes
0 answers

How to send trap messages from linux to snmp agent on my local machine?

I could not find any solution on internet so i decided to post my question on stackoverflow, I have a program on linux server when i execute it should send trap messages to my local snmp agent. I am setting host name to my system IP address, so i…
hussain
  • 6,587
  • 18
  • 79
  • 152
3
votes
1 answer

Unable to set value using net-snmp c API

I am trying to set a value for an OID using net-snmp C api, snippet of the code that I am using is: char *ltmp = "description"; char *buff = malloc(sizeof(char)*50); strcpy(buff,ltmp); if (!snmp_parse_oid(".1.3.6.1.4.1.2162.1.2.2.1.0", anOID,…
kewal
  • 39
  • 9
3
votes
1 answer

How to receive SNMP traps using net-snmp API?

How can I receive traps using C or C++ and net-snmp module. I need sample code but the examples at http://www.net-snmp.org/ use syscalls but not API methods.
3
votes
1 answer

SNMP - C - Implement subtree from MIB

I've been working on my own SNMP agent using the example found here : http://www.net-snmp.org/dev/agent/example_8c_source.html I am wanting to better organize my tree structure to make more sense which in turn makes using client commands easier. I…
jtor
  • 133
  • 1
  • 4
  • 13
1 2
3
43 44