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

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 the

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 recall

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: 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

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

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 it?

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_ret; tempPTR-Name is

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,