New Zealand ADSL Mailing List


Re: SNMP to get IP

From: Dan Langille <dan.langille_at_dvl-software.com>
Date: Thu, 22 Jul 1999 22:28:32 +1200
Message-Id: <199907221028.FAA29727@metis.host4u.net>

On 22 Jul 99, at 21:32, Kit wrote:

> Attached is my seriously ugly script complete with comments
> reminding me to finish it sometime that more or less does the
> job of finding the IP address.

Thanks for that. When I run it I get:

# sh snmp2.pl
sub-identifier not found: ip
Invalid object identifier: ip.ipAddrTable.ipAddrEntry.ipAdEntAddr
sub-identifier not found: interfaces
Invalid object identifier: interfaces.ifTable.ifEntry.ifInOctets.1
sub-identifier not found: interfaces
Invalid object identifier: interfaces.ifTable.ifEntry.ifOutOctets.1
ipaddress
Octets in
Octets out
[: syntax error

But not to worry, it may be specific to FreeBSD issues. I'll figure it out
later. This message is just in case other FreeBSD encounter the same
problem; they are not allow.

cheers :)

--
Dan Langille - DVL Software Limited
The FreeBSD Diary     - http://www.FreeBSDDiary.org/freebsd/
NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/
The Racing System     - http://www.racingsystem.com/racingsystem.htm
To unsubscribe: send mail to majordomo@freebsddiary.cx
with "unsubscribe adsl" in the body of the message
Received on Thu Jul 22 22:28:32 1999

This archive was generated by hypermail 2.2.0 : Thu Nov 30 11:48:35 2006 EST