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
0
votes
1 answer

proper getnext logic in a pass_persist handler

I'm working on a small script that'll act as an snmp pass_persist handler. I want it to read a file in (called 'numbers', for now in the same dir) which just contains some integers and return these as an oid tree. I've been stuck on this for a few…
Sirex
  • 219
  • 4
  • 22
0
votes
2 answers

value for host in snmptraps

while executing "snmptrap -v 1 -c public localhost TRAP-TEST-MIB::demotraps localhost 4 0 '' IF-MIB::ifIndex i 1" on my system,I am getting host ,ip & OID values as host = localhost.localdomain :ip = UDP: [127.0.0.1]:49109->[127.0.0.1] :OID…
Gaurav
  • 91
  • 1
  • 4
  • 14
0
votes
2 answers

MIB file writing issue

IONLINE-MIB DEFINITIONS ::= BEGIN IMPORTS IpAddress, MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, snmpModules, OBJECT-IDENTITY, enterprises, Counter32, Integer32 FROM SNMPv2-SMI DisplayString, …
jatin bodarya
  • 72
  • 3
  • 8
0
votes
2 answers

Storing SNMP GET output to MySQL database

I want to make a simple script that periodically performs SNMP GET and stores the output to MySQL database. It will be running on Windows. What would be the least painful choice of programming language to write it in? Powershell, Java, …?
45RPM
  • 133
  • 2
  • 10
0
votes
1 answer

calling a script from Binary in chroot mode,not working

Part of a program named =program.c int memoryPercent() { int memoryPercent=0; FILE *pipe1 = NULL; pipe1=popen("/home/jatin/scripts/memoryPercent.sh","r"); if(!pipe1) { snmp_log(LOG_ERR,"popen failed in…
jatin bodarya
  • 72
  • 3
  • 8
0
votes
3 answers

Net-SNMP support for TCP and UDP MIBs

Does Net-SNMP support the TCP and UDP MIBs out-of-the-box? http://net-snmp.sourceforge.net/docs/mibs/tcp.html http://net-snmp.sourceforge.net/docs/mibs/udp.html Does Net-SNMP have a built-in agent that exposes the TCP and UDP MIB information?
DarVar
  • 16,882
  • 29
  • 97
  • 146
0
votes
2 answers

net-snmp agentx re-enable

I have embedded a net-snmp agentx subagent in my c++ application code on Ubuntu Linux. I want to disable the agentx subagent once it is working and then re-enable it again. I am successfully able to setup the agent, poll the mib using snmpget from…
John Qualis
  • 1,663
  • 4
  • 33
  • 52
0
votes
1 answer

compliling net-snmp 5.7.1 at openBSD5.1

i am trying to comile net-snmp 5.7.1 at openBSD5.1. theerror in compile is structure has no member named kp_proc' structure has no member namedkp_eproc' can anyone help me about this ?? and how to do python binding at openBSD ??
0
votes
1 answer

c++ How to write value to OID with snmp-net

I follow this tutorial. I success to do all , but i cannot figure out how to change the MIB scalar value from my application. I want to write values from my application to these OID in order to have the ability to monitor my application by SNMP. the…
Avihai Marchiano
  • 3,837
  • 3
  • 38
  • 55
0
votes
2 answers

Cannot see all elements within a MIB using snmpget/snmpwalk

I am using NET-SNMP (V5.6.1.1) on windows to read my MIB with snmpget & snmpwalk. When I try accessing the MIB I can only see some of the elements. I know the MIB is good since my colleague can extract the same revision of the MIB from the…
Paulski73
  • 195
  • 1
  • 6
  • 20
0
votes
1 answer

getaddrinfo: start Temporary failure in name resolution Error opening specified endpoint "start" Server Exiting with code 1

While starting snmpd I am getting this error in /var/snmpd.log ** > *getaddrinfo: start Temporary failure in name resolution Error opening specified endpoint "start" Server Exiting with code 1* ** For your info m using Fedora-14 & net-snmp-5.7.1…
Gaurav
  • 91
  • 1
  • 4
  • 14
0
votes
1 answer

ctypes netsnmp with multiprocessing

I was hoping someone could help... so... i'm writing a multiprocessing based python netsnmp poller (i do a lot of data structure manipulation after i gather the data, so the overheads are worth it over normal threading). I couldn't find a complete…
yee379
  • 6,498
  • 10
  • 56
  • 101
0
votes
1 answer

SNMP Trap Truncated?

So we receive an SNMP trap and the text is as follows: The following SNMP trap notification was generated by ms931.mytest.com (xx.x.xxx.xx): DISMAN-EVENT-MIB::sysUpTimeInstance 0:0:21:08.75 SNMPv2-MIB::snmpTrapOID.0 …
Mathew
  • 9
  • 1
0
votes
2 answers

Net-SNMP used in UNIX

Does anyone know good tutorials online or books that will help with NET-SNMP. Or can anybody recommend my a SNMP trap generator for Unix Basically I want to send SNMP traps from UNIX to SCOM server but i can not use SCOM AGENT as it is heavy.
Mustafa
  • 1,738
  • 2
  • 24
  • 34
-1
votes
1 answer

How do I set up NET-SNMP with OpenVMS?

I'm having trouble getting started off with installing net-snmp. So far I've installed the binary for net-snmp version 5.6.1.1 on my Windows XP machine and I'm trying to install net-snmp on OpenVMS machine to make is as my client and the Windows…
404Error
  • 1,643
  • 3
  • 15
  • 11