Re: Usage on windows...snmpd.conf

2007-01-10 Thread Thomas Anders
Lambert, Eric wrote: > Thanks for the reply. While I had compiled the 5.4 version, the text in > the example file still is as shown below...I assumed it applied to the > version I was running. =) Can you file this as a bug, please, and include the information which of the features are working for

Re: Net-SNMP 5.3.0.1 Coredump - Linux

2007-01-10 Thread Thomas Anders
Mark Clinton wrote: > I reproduced the coredump using Net-SNMP 5.4. The stack trace is below: Please file it as a bug on http://www.net-snmp.org/bugs so it won't get lost. Please include all details, ideally with the relevant portions of your code. +Thomas -- Thomas Anders (thomas.anders at bl

RE: Dynmically retrieving only objects with real values?

2007-01-10 Thread Wilson, Dave
Thanks, you are correct. The data structure is something like that, I had another look at what I was doing and I had a bug, so it is working correctly now. Dave -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, January 10, 20

Re: Net-SNMP 5.3.0.1 Coredump - Linux

2007-01-10 Thread Mark Clinton
Thomas, I tried your approach. I reproduced the coredump using Net-SNMP 5.4. The stack trace is below: Thanks, Mark NET-SNMP version: 5.4 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net #0 netsnmp_add_varbind_to_cache (asp=0x8187958, vbcount=1, varbind_ptr=0x815bc9

Re: Dynmically retrieving only objects with real values?

2007-01-10 Thread Dave Shield
On 10/01/07, Wilson, Dave <[EMAIL PROTECTED]> wrote: > Thanks Dave, but > > " >> Use exactly the same test as above: >> >> case STATSVALUE: >> if ( strlen(tempPTR->Name) == 0 ) return NULL; < >> long_ret = tempPTR->Value; >> return (unsigned char *) &long_re

RE: Dynmically retrieving only objects with real values?

2007-01-10 Thread Wilson, Dave
Thanks Dave, but " Use exactly the same test as above: case STATSVALUE: if ( strlen(tempPTR->Name) == 0 ) return NULL; < long_ret = tempPTR->Value; return (unsigned char *) &long_ret; " tempPTR->Name is not a string, it's an integer. Is it safe to cast

Re: Discovering host in the network

2007-01-10 Thread Vincent AARON
Hello use nmap for Linux or Windows: http://insecure.org/nmap/ You should be able to detect OS version http://insecure.org/nmap/man/man-os-detection.html And also Opened network port on each systems Regards Ankit Jalota wrote: Can anybody suggest a fast and efficient way to do discovery of hosts

2nd try: Need info on Encryption used in snmptrapd v 5.3.1

2007-01-10 Thread Rane, Prashant
Hi, I would really appreciate if someone can help me out with this. 1. What encryption technology is used in snmptrapd v 5.3.1? 2. Is the whole v3 trap encrypted ? 3. What sort of encryption is used for v3 authentication? Thanks a lot for your help in advance. Regards,

Re: Discovering host in the network

2007-01-10 Thread Dave Shield
On 10/01/07, Ankit Jalota <[EMAIL PROTECTED]> wrote: > Can anybody suggest a fast and efficient way to do discovery of hosts in the > network. Try querying the ARP table on either a central server that most systems will be talking to (e.g. a fileserver). Or try querying the routing or switching

Discovering host in the network

2007-01-10 Thread Ankit Jalota
Can anybody suggest a fast and efficient way to do discovery of hosts in the network. Thanks Ankit - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share

Re: which is stable? 5.3.1 or 5.4?

2007-01-10 Thread Dave Shield
On 10/01/07, Kurapati M-G19456 <[EMAIL PROTECTED]> wrote: > Currently we are using NET-SNMP-5.2.2. We are planning to migrate to the > later versions of NET-SNMP. Is NET-SNMP-5.3.1 or NET-SNMP-5.4 is stable? Either of these should be fine. 5.3.1 has been out for longer than 5.4, but I don't reca

Re: Dynmically retrieving only objects with real values?

2007-01-10 Thread Dave Shield
On 09/01/07, Wilson, Dave <[EMAIL PROTECTED]> wrote: > However, I do not > want to return entries if they have no value, so in this example, I won't > return statsname.4, but the walk will go onto the next category. I do this > by using code like this in th

RE: Usage on windows...snmpd.conf

2007-01-10 Thread Lambert, Eric
Thanks for the reply. While I had compiled the 5.4 version, the text in the example file still is as shown below...I assumed it applied to the version I was running. =) I have a sample snmpd.conf file in place and snmpd is running and responding to some simple "snmpget -v 2c -c public hostname sy