Sent: Thursday, July 13, 2017 7:57 AM
To: Robson, Alan
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: OID for MIBs
Hi Alan,
Thank you for the clarification.
I am working in enterprise-1 and hence defined private mib for their products
with iso.3.6.1.4.1.PEN1.1
and now the enterprise-1 has b
iso.3.6.1.4.1 signifies an enterprise. The next number is the Private
Enterprise Number (PEN), anything after that is up to the enterprise to define
the meaning of.
So yes and no (but mostly no !). If the first enterprise number (PEN) belongs
to your organization (ie. you work for enterprise_1)
If you control the MIB structure would it work for you to structure your MIB to
contain tables ? ie. when you read, say, CPU usage you will read a CPU usage
table with an entry for each machine - one MIB, one agent, multiple entries.
From: daniele [mailto:daniele.salvo...@gmail.com]
Sent: Tues
Maybe you could wrap the snmptrap executable in a shell script.
ie. Make a shell script called snmptrap that reads in the commandline variables
and then calls the “real” snmptrap with the additional port information added.
Put the snmptrap shell script somewhere in the path ahead of the real net
packet.
Alan
From: Pushpa Thimmaiah [mailto:pushpa.thimma...@gmail.com]
Sent: Wednesday, January 13, 2016 2:34 AM
To: Robson, Alan
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: subagents
Hi ,
Adding to previous mail,
I found one difference between agentxtrap and snmptrap. agentxtrap can be
Snmpd will respond to snmp requests for the MIB variables it understands. But
if you add new software that has a MIB of its own, snmpd cannot respond because
it has no knowledge of the new software or its internal state. Someone can
write an snmp subagent that will respond to requests about the
This will probably answer many of your questions:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sect-System_Monitoring_Tools-Net-SNMP-Extending.html
You should also look into a pass script:
http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmp
How come your subagent can’t wait for a request to come in from the manager and
check the file at that time ? For example, if the file contains data upon which
the response is based, subagent waits for the poll, then opens the file,
calculates and sends the response.
Or are you trying to keep t
'd like to learn more. Could
you please give an example. Are you using the command line snmpget tool ?
Many thanks
Alan
-Original Message-
From: Martin T [mailto:m4rtn...@gmail.com]
Sent: Monday, July 13, 2015 6:54 AM
To: Robson, Alan
Cc: net-snmp-users@lists.sourceforge.net
Subje
Look for display hints in, for example, the TC MIB here:
https://tools.ietf.org/html/rfc2579
Alan
-Original Message-
From: Martin T [mailto:m4rtn...@gmail.com]
Sent: Friday, July 10, 2015 8:16 AM
To: net-snmp-users@lists.sourceforge.net
Subject: Are MIB files also used for converting
I have had a little experience building subagents with mib2c.
mib2c will provide a skeleton of an agent/subagent and it's up to the developer
to fill in the implementation-specific details (from your example, mib2c will
make a stub function for you to fill in with a real implementation of a
fun
the traditional
sense. For example, you can send a trap from the commandline of a machine that
is not running snmpd.
Alan
-Original Message-
From: Martin T [mailto:m4rtn...@gmail.com]
Sent: Thursday, July 09, 2015 2:00 AM
To: Robson, Alan
Cc: stua...@alleninstitute.org; net-snmp-users
e text above and
is certainly nowhere to be found in the SNMP packet if you were to capture it
and pull it apart with wireshark or tcpdump.
Cheers
Alan
-Original Message-
From: Martin T [mailto:m4rtn...@gmail.com]
Sent: Wednesday, July 08, 2015 8:43 AM
To: Robson, Alan
Cc: stua...@allenins
They can help associate notifications that indicate alarm conditions with
notifications that indicate that the same alarm has cleared.
In the normal run of events, the MIB text file is the only way one would learn
what notifications are supported without reading the source code since walking
t
Hi Janki
Did MIB2C also create any files for you that ended with the words: …_data_get.c
or …_data_access.c ?
I ask because when I ran MIB2C it generated these files to give me an
opportunity to write functions that would be called when the SNMP agent wanted
to fetch a value to return to the
;/usr/local/bin/snmp_extender.py", line 4, in
OID = sys.argv[2].strip()
IndexError: list index out of range
M.AMJAD
+92-345-9208119
On Friday, 9 May 2014, 21:45, "Robson, Alan"
mailto:alan.rob...@viasat.com>> wrote:
This page:
http://net-snmp.sourceforge.net/docs/man/
This page: http://net-snmp.sourceforge.net/docs/man/snmpd.conf.html#lbAZ
describes how the snmp agent can be extended with a simple script.
Here is a very bad example of a script that I saved in the file
/usr/local/bin/snmp_extender.py ...
#! /usr/bin/python -u
import sys
# OID is passed with
The Management Information Base (MIB) will be hard coded into the program
running on the network device (The SNMP agent). This SNMP agent can use any
technique it likes to store its information (for example, my snmp agent stores
all its information in mysql).
A file describing the MIB (generall
I have them on the network manager so that I can refer to OIDs by name instead
of just the numbers. And I used them on the network device when I compiled an
SNMP subagent using “MIB for DUMMIES”. But in truth you don’t need a MIB file
anywhere, you can just refer to objects by their numeric ID.
Hi all,
This seems like such a basic thing, so I apologize if I've missed a previous
response.
I've successfully implemented a subagent for my custom MIB. I can snmpwalk it
if I specify a suitable starting point in my custom MIB, I can snmpget objects
etc. It all works just fine.
However if I
20 matches
Mail list logo