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

MIB limits (columns in tables and compliance objects)

I am writing some enterprise MIB modules, including tables (columnar objects) and compliance statements. I note that when using the iReasoning MIB Browser (version 9.0 build 3532) under Linux, it only seems to display the first 15 compliance objects…
NetHead
  • 71
  • 1
  • 10
0
votes
1 answer

Python Net-SNMP, Linux: gather usernames by IP

I would like to define usernames (or uids) of users currently logged into the remote hosts with static IP addresses. Of course there's a lot of ways to work it out (for instance - using PKI and sshd), but i prefer SNMP service. I have seen some…
Vitaly Isaev
  • 5,392
  • 6
  • 45
  • 64
0
votes
2 answers

SNMP OID for getting manufacturer serial number with SNMP version 1

I'm unable to get the manufacturer serial number when I do an SNMP get on an OID .2.47.1.1.1.1.11.1.0. If I do an snmpget with the below command on the OID with the command: snmpget -v1 -c public 192.168.4.99 .2.47.1.1.1.1.11.1.0 I get the…
Santhosh Pai
  • 2,535
  • 8
  • 28
  • 49
0
votes
1 answer

Printing net-snmp getbulk results with newlines at each index

I have the following Python code: #!/usr/bin/python import netsnmp session = netsnmp.Session(DestHost='_destination address_', Version=2, Community='_string_') vars = netsnmp.VarList(netsnmp.Varbind('ifIndex',), netsnmp.Varbind('ifDescr',),…
jschadt
  • 3
  • 2
0
votes
1 answer

Getting more info from snmp traps

I have some Windows PCs sending snmpt traps to a linux server. On the server a snmptt trap handler, that works fine except for one issue. Windows sends out traps with a description (say "Adobe Flash player update service stopped"). My problem is I…
0
votes
1 answer

net-snmp snmptrap sending samples

I'm new in SNMP and I just configured the agent and the manager and I'm able to receive the traps sent by the agent. But I noticed that the traps received by the manager are captured between 10 seconds, but I need to receive the traps as soon as I…
progloverfan
  • 155
  • 2
  • 13
0
votes
0 answers

snmptrapd_handler.c and netsnmp_pdu (Trap receiver implementation)

I made a trap receiver application. I just only modified the snmptrapd_handler in the next way: int print_handler( netsnmp_pdu *pdu, netsnmp_transport *transport, netsnmp_trapd_handler…
user1310873
  • 389
  • 1
  • 6
  • 17
0
votes
1 answer

Custom MIBs creation

For our VoIP application we have to publish some value through database on SNMP. Can anyone let me know how would do this. Will I have to create MIBs and if that how would MIBs receive data from application. Is there any free editor for creating…
0
votes
1 answer

Net-SNMP Agent snmptrapd.conf examples

I'm trying to set up an Ubuntu virtual machines to receive test traps to help me get a handle of SNMP. I'm looking for examples of snmptrapd.conf files to help me get a handle of the software. I'm fairly new at using Ubuntu and SNMP so feel free to…
user2334109
  • 1
  • 1
  • 3
0
votes
1 answer

How to change the net-snmp default port to one less than 1024 in linux?

Everyone! In Red Hat Server Linux, I change the Net-SNMP default port(161) to 165 by adding "agentaddress 165" in snmpd.conf file, but it doesn't work. Service snmpd startting failed. Is anybody knowing the reason?
Yue.Gu
  • 1
  • 1
  • 2
0
votes
1 answer

snmp private mib prevent node being readable for public user

I am dealing with a private mib which includes some nodes with sensitive information. I want these node to only be readable by a user who has a private community string. details: usersEntry usersIndex usersName usersPassword I want this…
0
votes
2 answers

Where to get SNMP class for php

I found this http://www.php.net/manual/en/class.snmp.php, but I can't find link to download this script. I tryed to search in the WEB, but the same result. Or is the any methods with php extension to make one session and work with it?
user2058653
  • 703
  • 2
  • 9
  • 23
0
votes
0 answers

Net snmp build issues

I'm trying to get some fairly old SNMP code built on windows as I need to make some changes. It compiles fine on UNIX. I've installed net-snmp 5.6.1.1 (the latest according to here: http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.2/).…
kh25
  • 1,238
  • 1
  • 15
  • 33
0
votes
1 answer

Given an OID, how do I find the corresponding MIB?

I'm using net-snmp. Given a specific OID such as .1.3.6.1, how do I find the corresponding MIB/module/filename/anything where that OID is described? I've looked through all the #include file in but I cannot figure it out. I was…
Stéphane
  • 19,459
  • 24
  • 95
  • 136
0
votes
1 answer

How to get SNMP value by MIB name?

Analog on bash: snmpwalk -c SNMP1TV01 -v 2c 127.0.0.1 IF-MIB::ifName | grep bond0 IF-MIB::ifName.8 = STRING: bond0 snmpwalk -c SNMP1TV01 -v 2c 12.0.0.0.1 IF-MIB::ifHCOutOctets | grep 8 IF-MIB::ifHCOutOctets.8 = Counter64: 13775300423919 I can't do…
Bdfy
  • 23,141
  • 55
  • 131
  • 179