RE: Is it possible to set up many SNMP agents managing the same MIB on the same machine?

2017-07-11 Thread Fernández Piñas , David
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

RE: Developing SNMP agent for a new switch

2016-05-23 Thread Fernández Piñas , David
, 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 __

RE: Developing SNMP agent for a new switch

2016-05-17 Thread Fernández Piñas , David
- 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

RE: Developing SNMP agent for a new switch

2016-05-06 Thread Fernández Piñas , David
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

RE: Developing SNMP agent for a new switch

2016-05-05 Thread Fernández Piñas , David
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

RE: unsorted-external data access model

2016-01-28 Thread Fernández Piñas , David
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

RE: unsorted-external data access model

2016-01-28 Thread Fernández Piñas , David
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

RE: Monitoring NTP and SNTP time synchronization software through SNMP

2009-04-01 Thread Fernández Piñas , David
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:

RE: net-snmp application

2009-03-18 Thread Fernández Piñas , David
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

RE: snmp script

2009-01-30 Thread Fernández Piñas , David
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 -

RE: How can I define my own trap?

2009-01-29 Thread Fernández Piñas , David
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

RE: Ayuda

2009-01-28 Thread Fernández Piñas , David
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

RE: How can I define my own trap?

2009-01-27 Thread Fernández Piñas , David
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

RE: How can I define my own trap?

2009-01-26 Thread Fernández Piñas , David
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"

RE: Net-Snmp on Windows XP

2009-01-23 Thread Fernández Piñas , David
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

RE: Newbie MIB questions on Windows

2008-12-03 Thread Fernández Piñas , David
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

RE: Store value in agent MIB

2008-10-29 Thread Fernández Piñas , David
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

RE: Script error after use *.bat file

2008-10-22 Thread Fernández Piñas , David
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

RE: net-snmp as v3 bridge to microsoft agent

2006-06-27 Thread Fernández Piñas , David
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

RE: how ro get CPU usage??

2006-06-02 Thread Fernández Piñas , David
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

RE: Agent documentation

2004-09-29 Thread &quot;Fernández Piñas, David"
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

RE: using mib2c

2004-09-29 Thread &quot;Fernández Piñas, David"
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

RE: Snmptrapd help

2004-09-28 Thread &quot;Fernández Piñas, David"
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

RE: Snmptrapd help

2004-09-23 Thread &quot;Fernández Piñas, David"
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-

RE: snmptrapd traphandle error

2004-09-22 Thread &quot;Fernández Piñas, David"
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

snmptrapd traphandle error

2004-09-22 Thread &quot;Fernández Piñas, David"
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

RE: Another problem with Installing new-snmp in QNX 6.x Architechture

2004-07-29 Thread &quot;Fernández Piñas, David"
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

RE: Installing new-snmp in QNX 6.x Architechture

2004-07-28 Thread &quot;Fernández Piñas, David"
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="

RE: What if Mgr. dies!!

2004-07-13 Thread &quot;Fernández Piñas, David"
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

RE: SNMP Deamon Problems...

2004-07-12 Thread &quot;Fernández Piñas, David"
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

RE: mib2c

2004-06-22 Thread &quot;Fernández Piñas, David"
./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

RE: MAC address not retrieved by Win32 client

2004-06-21 Thread &quot;Fernández Piñas, David"
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

RE: MAC address not retrieved by Win32 client

2004-06-21 Thread &quot;Fernández Piñas, David"
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

RE: A small problem in usage of method snmp_varlist_add_variable()

2004-06-14 Thread &quot;Fernández Piñas, David"
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

RE: how to reboot the pc using snmp?

2004-06-03 Thread &quot;Fernández Piñas, David"
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

RE: Duplicated trap sending

2004-06-02 Thread &quot;Fernández Piñas, David"
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

RE: how to reboot the pc using snmp?

2004-06-02 Thread &quot;Fernández Piñas, David"
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

RE: Redirection?

2004-06-01 Thread &quot;Fernández Piñas, David"
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