Questions tagged [snmpd]

A SNMP daemon that responds to SNMP requests.

SNMPD linux man page

135 questions
2
votes
1 answer

How to send snmptrap with net-snmp in C?

I am developing an application for an embedded device. I want to send traps when some situation occurred. I found some examples but not really helped to me. There is a function called send_v2trap() in net-snmp. Can someone help me? Is there need to…
lazkopat
  • 21
  • 1
  • 3
2
votes
0 answers

How to pass IPv6 parameter for snmp session creation using

I am using SNMP package to create SNMPv3 session. But I am not sure how to pass transport information as UDP6 as I think default behavior is UDP. As far as I know that when use Net::SNMP to create session then we have "domain" parameter to classify…
Ravi
  • 71
  • 1
  • 7
2
votes
1 answer

Impossible to kill processes via SNMP

I'm trying to kill processes using SNMP. I know that is possible setting to 4 the "status" field of a process like: snmpset -v 2c -c community_string ipaddress 1.3.6.1.2.1.25.4.2.1.7.PID i 4 I always receive the same message: Error in packet. …
2
votes
2 answers

Pass SNMP trap packet to a php daemon on Ubuntu

I have a Ubuntu server which is collecting incoming SNMP traps. Currently these traps are handled and logged using a PHP script. file /etc/snmp/snmptrapd.conf traphandle default /home/svr/00-VHOSTS/nagios/scripts/snmpTrap.php This script is quite…
Vajira Lasantha
  • 2,435
  • 3
  • 23
  • 39
2
votes
1 answer

SNMP communication failure

I've just setup SNMP on a ubuntu server [12.04.4 LTS] for monitoring and I have been fighting this thing for 8 days straight with NO LUCK! I'm sure I have SNMP installed and configured correctly, however when trying to SNMP walk this server from…
Bone Ceo
  • 21
  • 4
2
votes
1 answer

SNMP: Why does a SET-request also perfom a GET-request?

I'm trying to build my own SNMP-agent (on Solaris 10.0) and added a line to my snmpd.conf: pass .1.3.6.1.4.1.xxxx /home/snmp/snmp_agent.bash For testing, the only thing the bash-script does, is writing the current time and arguments to a…
Gijsbert
  • 31
  • 2
1
vote
3 answers

how to set the port of snmp agentX subagent?

I am working on extending net-snmp to write a subagent with agentX. Now I use the example codes from net-snmp, and compiled to a subagent. Below is the codes I get from: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module And I succeed…
zhaojing
  • 585
  • 3
  • 11
  • 33
1
vote
3 answers

how to see the log of the DEBUGMSGTL in net-snmp

I am trying to write a snmp subagent that using agentX, which is supported by net-snmp. At first, I used the example codes from net-snmp FAQ: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent And from the example…
zhaojing
  • 585
  • 3
  • 11
  • 33
1
vote
0 answers

how to receive snmp incoming request using net snmp library

I have a project that involves using the SNMP protocol, and I'm using the NET-SNMP library. I have written C code for the client side (manager) of SNMP, and it works perfectly. However, on the server side, I need assistance with receiving SNMP…
1
vote
1 answer

How to add the variables in MIB files in the linux?

Basically, I have added one variable called "sysFirst" (as shown in the below picture)in the available "RFC1213-MIB.txt" file. After addition of the variable I have validated also using command smilint -l 6 -i namelength-32 ./RFC1213-MIB.txt So I…
Omkar Dixit
  • 71
  • 1
  • 7
1
vote
0 answers

MIB- access to data of base table in table augmentation

I am doing some research about different aspects of SMIv2 and MIB writing. I have a given MIB file which has a table T1 and want to define a new table T2 at other MIB file that holds all columns of T1 and has some additional columns too. I found…
Jafar Gh
  • 137
  • 2
  • 12
1
vote
0 answers

Defining objects using OBJECT-TYPE and using in 2 different applications

I am writing and implementing some MIB files. I want to implement a bunch of objects in a Base-MIB and reuse it in multiple projects. One way is to copy Base-MIB for each project and then import mibs of each project to corresponding Base-MIB (as…
Jafar Gh
  • 137
  • 2
  • 12
1
vote
1 answer

snmpwalk: Cannot find module

I searched intensively and applied available solutions from google, all these solution did not fixed the problem. I keep getting the error messages when running the command snmpwalk on the Ubuntu OS which is using net-snmp. The following is the…
Passionate
  • 139
  • 1
  • 4
  • 13
1
vote
0 answers

Incorrect NET-SNMP Version in BeagleBoneBlack

I work with the Net-SNMP library with C++ on an Debian inside a beaglebone back. I used to work with net-snmp 5.7.1 version. However, I need to upgrade it to 5.9. I did the steps of this tutorial:…
1
vote
1 answer

How to Extend SNMP Agent with Custom Bash Script, Custom Enterprise OID and Custom MIB

I am looking for a tutorial/guide to help me create a custom oid ( with my own enterprise number in the oid ), custom MIB using a variable base script in snmp Agent. Most of the examples I see on the Internet like 24.6.5. EXTENDING…
Ahmed Nawaz Khan
  • 1,451
  • 3
  • 20
  • 42
1
2
3
8 9