DateTime format

2009-12-03 Thread asaf
I couldn't figure out how to fill the char[11] DateTime type can someone (Dave) give example ? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing.

DateTime format

2009-12-03 Thread asaf
I couldn't figure out how to fill the char[11] DateTime type can someone (Dave) give example ? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing.

Re: Duplicate entries in log file for snmptrapd

2009-12-03 Thread Alexander Shikoff
On Thu, Dec 18, 2008 at 01:29:21PM +0200, Alexander Shikoff wrote: Hello again, one more problem with snmptrapd: it sends duplicates log entries to syslog: Dec 18 13:19:56 noc snmptrapd[90698]: NET-SNMP version 5.4.2.1 Dec 18 13:20:37 noc snmptrapd[90698]: noc.itcons.net.ua [UDP:

Re: DateTime format

2009-12-03 Thread asaf
I couldn't figure out how to fill the char[11] DateTime type can someone (Dave) give example ? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud

Re: DateTime format

2009-12-03 Thread Dave Shield
2009/12/3 a...@lingnu.com: I couldn't figure out how to fill the char[11] DateTime type Use the 'date_n_time()' utility routine. can someone (Dave) give example ? See (for example) mibgroup/host/hr_swinst.c Dave

Problem with net snmp extension dll on windows.

2009-12-03 Thread Rajat . Gupta
Hi, I am using subagent extension dll on windows 2k3.(32 bit) The subagent dll works perfectly with windows SNMP service. But if I use the same subagent with Net-SNMP I get into following trouble. I am issuing an set and get request to the

RE: Problem with net snmp extension dll on windows.

2009-12-03 Thread Rajat . Gupta
It is the latest 5.5.0-1 Regards, Rajat -Original Message- From: bart.vanass...@gmail.com [mailto:bart.vanass...@gmail.com] On Behalf Of Bart Van Assche Sent: Thursday, December 03, 2009 6:14 PM To: Gupta,Rajat Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Problem with net snmp

Re: Problem with net snmp extension dll on windows.

2009-12-03 Thread Bart Van Assche
On Thu, Dec 3, 2009 at 12:41 PM, rajat.gu...@emulex.com wrote:   I am using subagent extension dll on windows 2k3.(32 bit)   The subagent dll works perfectly with windows SNMP service.   But if I use the same subagent with Net-SNMP I get into following trouble.    

Re: Problem with net snmp extension dll on windows.

2009-12-03 Thread Bart Van Assche
-Original Message- From: bart.vanass...@gmail.com [mailto:bart.vanass...@gmail.com] On Behalf Of Bart Van Assche Sent: Thursday, December 03, 2009 6:14 PM To: Gupta,Rajat Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Problem with net snmp extension dll on windows. On Thu,

回复: How to initialise the c ontents of the table ?

2009-12-03 Thread 飞飞
I use the command 'mib2c -Scache=1 -c mib2c.table_data.conf uit' and then I got this hint: no variable specified for -S flag. at /usr/local/bin/mib2c line 96. Who can mail me your modified .c file which generated by mib2c.table_data.conf from a simple table mib file? Oh my God,anything is

Re: 回复: How to initialise the contents of the table ?

2009-12-03 Thread Dave Shield
2009/12/3 飞飞 chenyapu1...@qq.com: I use the command 'mib2c -Scache=1 -c mib2c.table_data.conf uit' and then I got this hint: no variable specified for -S flag. at /usr/local/bin/mib2c line 96. My apologies. Try mib2c -S cache=1 -c mib2c.table_data.conf uit The '-S' flag is

snmp over tcp

2009-12-03 Thread Thorsten Frank
if I am not wrong, I can start the snmpd like this: snmpd.exe -f -d -c c:\usr\bin\snmpd.conf tcp:4711 to tell the agent that it should listen on the tcp-port 4711. When I now try to query some information, doing something like this: snmpwalk.exe -v1 -c public localhost:4711 I got a timeout.

Re: snmp over tcp

2009-12-03 Thread Les Mikesell
Thorsten Frank wrote: if I am not wrong, I can start the snmpd like this: snmpd.exe -f -d -c c:\usr\bin\snmpd.conf tcp:4711 to tell the agent that it should listen on the tcp-port 4711. When I now try to query some information, doing something like this: snmpwalk.exe -v1 -c public

snmp request over a ssh tunnel?

2009-12-03 Thread Thorsten Frank
I want to do a snmp query from my webserver (snmp consumer) to my pc (snmp producer). The pc is behind a router. It works fine with port-forwarding in the router. But is there another possiblity, without having to configure something in the router? I am think about something like, the pc

Re: snmp request over a ssh tunnel?

2009-12-03 Thread Les Mikesell
Thorsten Frank wrote: I want to do a snmp query from my webserver (snmp consumer) to my pc (snmp producer). The pc is behind a router. It works fine with port-forwarding in the router. But is there another possiblity, without having to configure something in the router? I am think

RE: snmp over tcp

2009-12-03 Thread Mike Ayers
From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, December 03, 2009 8:58 AM And is there some particular reason you'd want to do this? Seems like a bad idea if your network is unreliable and not needed if it is. Please don't beat that festering horse corpse... all