Yes, it should be possible. But instead of different ports for each SNMP agent,
maybe it would be better that you use IP aliasing in the Gateway. Then, each
SNMP agent just listens on a single IP address, standard port UDP 161. I think
that this would make it easier to map the devices on a netwo
, 24 de mayo de 2016 4:44
Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net
Asunto: RE: Developing SNMP agent for a new switch
Hi David, All,
As you wrote, -D gives a log of debug messages.
What TOKEN I can put after -D in order to filter ?
Best regards,
Z.V
__
-
De: Vered Zvi [mailto:ver...@elta.co.il]
Enviado el: sábado, 14 de mayo de 2016 21:13
Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net
Asunto: RE: Developing SNMP agent for a new switch
Hi David, All,
If I install snmpd without any changes and send a valid SNMP request,
is there a way
snmptrapd to get the traps from snmpd.
Best regards,
David
-Mensaje original-
De: Vered Zvi [mailto:ver...@elta.co.il]
Enviado el: viernes, 06 de mayo de 2016 4:50
Para: Fernández Piñas, David; net-snmp-users@lists.sourceforge.net
Asunto: RE: Developing SNMP agent for a new switch
Hi
Do you have the switch MIB to support by the SNMP agent (ASN.1)? If this is a
private company MIB, I would do a AgentX subagent implementing and getting the
information from the PCIe device, then the Net-SNMP snmpd will give you some
standard additional MIBs.
There is plenty of documentation, a
msm...@cellwatch.com]
Enviado el: jueves, 28 de enero de 2016 13:17
Para: Fernández Piñas, David
Asunto: RE: unsorted-external data access model
Thanks for your reply, but I'm afraid I don't understand your suggestion, nor
how it relates to my problem: I already have a MIB that at least wa
Mike,
I don't know what kind of MIB are you trying to develop. It would be nice if
you could post it. I had a similar problem and I decided to implement a so
called command line MIB like this:
+--CommandLineMib(5)
+--CommandLineModule(1)
| +--CommandLineGroup(1)
|
+-- -RW- String
In case you find it useful, just mention that I monitored the NTP service using
MRTG and a perl script some time ago.
Here is the reference I used to do it:
http://www.satsignal.eu/ntp/NTPandMRTG.txt
-Mensaje original-
De: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]
Enviado el:
Define environment variable MIBS=ALL.
De: jie zhong [mailto:zzz...@gmail.com]
Enviado el: miércoles, 18 de marzo de 2009 16:17
Para: net-snmp-users@lists.sourceforge.net
Asunto: net-snmp application
Hi:
I am writing a simple application on SUSE linux using ne
Add to snmpd.conf:
pass .1.3.6.1.4.1.11821 /home/fede/snmp_script/prova1
pass .1.3.6.1.4.1.11822 /home/fede/snmp_script/prova2
and use two separate scripts:
# prova1
#!/bin/sh
echo .1.3.6.1.4.1.11821
echo integer
echo 20
# prova2
#!/bin/sh
echo .1.3.6.1.4.1.11822
echo integer
echo 21
-
for sending traps. That will also help clarify the structure
of this information - what values naturally fall into table, how
those tables are structured and indexed, etc.
As well as making the MIB much more useful in general.
Fernández Piñas, David wrot
SELinux is preventing /usr/sbin/snmpd (snmpd_t) "create" access to
(snmpd_t)
SELinux no deja al agente SNMP abrir el puerto snmp para escuchar peticiones.
-Mensaje original-
De: NOC-BBY-MetroAntel [mailto:noc-omac...@antel.net.ec]
Enviado el: miércoles, 28 de enero de 2009 13:51
Par
then move to an official node.
De: ignasi.pare...@gmail.com [mailto:ignasi.pare...@gmail.com] En nombre de
Ignasi Paredes Oliva
Enviado el: lunes, 26 de enero de 2009 19:54
Para: Fernández Piñas, David
CC: net-snmp-users@lists.sourceforge.net
Asunto: Re: How can
I once defined a custom trap for monitoring calls on a VSAT this way:
ncpcallcleared NOTIFICATION-TYPE
OBJECTS { systemtrafficload, eventcode }
STATUS current
DESCRIPTION
"Call cleared notification"
I used Net-Snmp 5.1 on Windows XP to provide some information with SNMPv2c
about custom applications in 2004. It is still being used, running on a 24x7
basis without failures.
De: Rodolfo Leffa [mailto:rodolfole...@gmail.com]
Enviado el: jueves, 22 de enero de
snmpwalk -v2c -c public localhost
and post the answer you get.
De: Matthew Devine [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 03 de diciembre de 2008 19:07
Para: net-snmp-users@lists.sourceforge.net
Asunto: Newbie MIB questions on Windows
So I jus
I think that you need to extend the agent to do this. For example, you can do
an agentx subagent to store this value.
Check the Net-Snmp tutorials for information on how to do this.
De: Murilo Fujita [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 29 de octub
Use "cmd /c" instead of "/bin/sh"
-Mensaje original-
De: Richard Horton [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 22 de octubre de 2008 14:29
Para: Murilo Fujita; net-snmp-users@lists.sourceforge.net
Asunto: Re: Script error after use *.bat file
2008/10/22 Murilo Fujita <[EMAIL
Check proxy support section at http://www.net-snmp.org/docs/man/snmpd.conf.html
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de Jorge
AguileraEnviado el: martes, 27 de junio de 2006 12:45Para:
net-snmp-users@lists.sourceforge.netAsunto: net-snmp as v3 bridge to
microsoft age
AFAIK first, you need to install the performance
MIB.
Here is a detailed explanation:
http://www.loriotpro.com/ServiceAndSupport/How_to/How_to_add_performance_MIB_on_Windows_2000.php
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En nombre de
Alfonso CornejoEnviado el: viernes, 02 de j
Have you read this section of the tutorial?
http://www.net-snmp.org/tutorial-5/toolkit/mib_module/index.html
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of raul
> serrano
> Sent: Wednesday, September 29, 2004 1:29 AM
> To: [EMAIL PROTECTED]
> Subje
Go to Start > Search... > Files or Folders and look for mib2c.scalar.conf on your
local hard disk.
It should be at the net-snmp sources local directory, the same directory where mib2c
perl script is stored.
The configuration file mib2c.scalar.conf says mib2c to generate code for scalar MIB
o
Use -Le instead of -P
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> prashanth raghavan
> Sent: Tuesday, September 28, 2004 3:19 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Snmptrapd help
>
>
> I still get the same error message when I try out
> s
You are editing the wrong snmptrapd.conf file. I think this file is used for
persistence purposes.
Delete the traphandle directive from the /var/net-snmp/snmptrapd.conf file and put it
at the snmptrapd.conf file located at /etc or /usr/local/share/snmp directory.
> -Original Message-
Thank you Alex, creating the c:\tmp directory (the easiest and quickest solution) has
done the trick !!
> -Original Message-
> From: Alex Burger
> Sent: Wednesday, September 22, 2004 5:07 PM
> To: Fernández Piñas, David
> Cc: [EMAIL PROTECTED]
> Subject: Re: snmptrap
Hi all, I am running a compiled version of snmptrapd (NetSNMP 5.1) on a Windows 2000
PC.
I get the next error when I specify a traphandle directive at snmptrapd.conf file:
make_tempfile: error creating file /tmp/snmpda01896
Has anybody see this message before? Any suggestion about solving this
od: illegal option -- x
I have seen that messages also. Does anybody knows the meaning and/or probable cause?
making all in /net-snmp-5.1/agent
make[1]: Entering directory `/net-snmp-5.1/agent'
making all in /net-snmp-5.1/agent/helpers
make[2]: Entering directory `/net-snmp-5.1/agent/helpers'
/b
I am using these configure options with QNX 6.2.1 on a PC, net-snmp 5.1:
./configure --enable-mini-agent --with-defaults --disable-applications
--disable-manuals --disable-scripts --disable-mibs --disable-debugging
--disable-mib-loading --enable-shared --disable-static
--with-out-mib-modules="
One option would be to implement a trap history table at your snmp agent, so if the
manager dies, when it resurrects can check if the agent has sent any trap.
-Original Message-
From: Tina Agarwal
Sent: Tuesday, July 13, 2004 11:00 AM
To: net-snmp-users
Subject: What if Mgr. dies!!
Hi
You can run snmpconf -g -i basic_setup in order to automatically copy the created
snmpd.conf file (notice the final d) to the /usr/local/share/snmp directory.
Start the daemon with snmpd -f -Le -Dread_config to see what configuration settings
it's reading and from where.
> -Original Mess
./configure --with-perl-modules
-Original Message-
From: Charuhas V Ghatge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 22, 2004 11:32 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: mib2c
Hi,
When I was trying to run mib2, got the following error. What am I doing wrong?
Tha
If you can see the object from your Linux box, then, it's clear. Throw away snmputilg!
On windows you can try also snmputil, the command-line version of snmputilg:
http://www.wtcs.org/snmp4tpc/testing.htm#SNMPUTIL
C:\>snmpwalk -c public localhost .1.3.6.1.2.1.2.2.1.6
RFC1213-MIB::ifPhysAddress.1
Hi, are you sure that it is the correct OID ?
Try a tool that is able to perform an SNMP walk. You can also use Net-SNMP on Windows.
See README.win32 file.
I tried the OID you gave on my Windows workstation and Net-snmp is able to retrieve
MAC address of the machine, as you can see:
C:\>snmpg
ASN_OCTET_STRING type is OK, but in order to see the string as ASCII with snmptrapd
you should have defined the MIB with the trap you are sending and the string itself.
In the example notification.c, the definition of the trap is included at
NET-SNMP-EXAMPLES-MIB:
netSnmpExampleNotification OB
Have you tried the solution Dave proposed?
It seems so much easier than the one I gave?
If you want to implement your own private MIB to do this, first follow the NET-SNMP
tutorial about extending the agent:
http://www.net-snmp.org/tutorial-5/toolkit/mib_module/index.html
Regards,
David
Da
What and how many trapsinks have you defined at snmpd.conf ?
-Original Message-
From: vicky liang [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 7:17 PM
To: [EMAIL PROTECTED]
Subject: Duplicated trap sending
When I started snmpd, the agent cold start trap was sent twice. Doe
You could implement a private MIB to execute shutdown command when a set is performed.
-Original Message-
From: jyoti mehta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 02, 2004 5:49 AM
To: [EMAIL PROTECTED]
Subject: how to reboot the pc using snmp?
Hi all
I am a final year c
See the snmpd.conf proxy support section.
> -Original Message-
> From: cnelson
> Sent: Tuesday, June 01, 2004 5:59 PM
> Subject: Redirection?
>
>
> I find that several of the MIBs I'm implementing provide the
> same or similar information in different groupings. Is there
> a way to
38 matches
Mail list logo