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...
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...
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...
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...
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...
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...
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 ...
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
....
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 ...
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...
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...
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...
1
Solved
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 ...
1
© 2022 - 2024 — McMap. All rights reserved.