net-snmp Questions

2

I have installed net-snmp on a linux machine with debian 10 buster and now I need to install snmp-mibs-downloader. Although I have previously run sudo apt-get update when executing: sudo apt-get i...
Christachristabel asked 10/11, 2020 at 18:17

6

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 wr...
Porthole asked 2/11, 2012 at 10:31

1

I have one simple bash script calls test_snmp, let's say: #!/bin/bash echo $1 I have snmpd.conf set as following: rwcommunity public 127.0.0.1 extend .1.3.6.1.4.1.2021.53 /bin/bash /tmp/test_s...
Timecard asked 10/11, 2016 at 10:16

1

Snmpv3 is a secured protocol compared to Snmpv2 and Snmpv1. But I dont understand what is the use of context name.We already have an user name and also authentication and privacy passwords which pr...
Denise asked 21/8, 2015 at 4:28

1

I am trying to configure SNMP agent as per the below link. http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mib_module/ I have placed .c and .h file in the agent/mibgroup folder then ./config...
Gabriello asked 7/1, 2014 at 14:31

5

I was following instructions on the net-snmp website to add my own MIB support to the master agent. Here is what I did: I created my support .c and .h file in net-snmp/agent/mibgroup/ fold...
Hayton asked 27/3, 2012 at 22:43

1

Solved

I am implementing my own MIB and also use smilint to check to validate the MIB. I am getting a lot of node xxx must be contained in at least one conformance group warnings. I am having trouble dec...
Declinature asked 30/11, 2016 at 9:5

4

I want to read all the objects from the MIB file that a manager has. I developed one tool to get some data from a SNMP enabled agent. I want to enhance that tool by showing all the OIDs form the ...
Lenhard asked 20/9, 2012 at 7:10

1

Solved

For test purpose, i'm trying to use the snmptrap command to produce a .1.3.6.1.2.1.43.18.2.0.1 trap (printer alert trap). I'm not in my two feet with the syntax of the snmptrap command, so can som...
Instructive asked 9/5, 2016 at 15:40

1

I successfully compiled net-snmp-5.7.3 on Ubuntu. :D This is the specific version of Ubuntu: Linux loserBox 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/L...
Nordine asked 24/12, 2014 at 4:54

2

Solved

I have to go through and collect a few OIDs from some SNMP enabled network printers with a BASH script I have been working on. My Request: snmpget -v2c -c public 192.168.0.77 .1.3.6.1.2.1.1.1 ....
Hairstyle asked 1/4, 2015 at 9:0

2

Solved

I could quickly go through the snmp installation and it works fine. In one of the agent modules I am currently looking into and trying to modify the source. I came across an issue where I need to ...
Stlaurent asked 25/7, 2011 at 16:35

1

Solved

I am trying to specify the port when I am sending a trap via snmptrap. Just in order to test my SNMP receiver I want to send traps to it, but I do not have access to port 162. How do I send the tr...
Tuttifrutti asked 12/6, 2014 at 12:21

1

Solved

Which of the following is the correct format for snmptrap (net-snmp) command? snmptrap -v 2c -c public host "" NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification \ netSnmpExampleHeartbeat...
Kef asked 13/11, 2013 at 7:18

1

Solved

I've written an AgentX app (Linux, gcc, g++) which works well at sending back scalers. Here is what I'm doing now: init_agent( "blah" ); netsnmp_register_read_only_scalar( netsnmp_create_handler_r...
Ked asked 23/3, 2012 at 23:43

1

Solved

How to get value mac and vlan from fdb table uses python? In bash snmpwalk work fine: snmpwalk -v2c -c pub 192.168.0.100 1.3.6.1.2.1.17.7.1.2.2.1.2 pysnmp: import os, sys import socket impor...
Crepuscule asked 22/12, 2011 at 8:45

2

How can I get the syntax type and read/write access for an OID using NET-SNMP API? I am writing an SNMP tool that reads and sets values on a remote machine using SNMP protocol. Before setting the ...
Leyba asked 24/1, 2011 at 20:15
1

© 2022 - 2024 — McMap. All rights reserved.