Re: IP Address & System Up Time MIB Variable

Sharad Chandra <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Niksun India
Message-ID <[email protected]>
Hi,

I am not sure about IP address, try this

$ snmpwalk -v2c -c public localhost sysUpTime
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (95049246) 11 days, 
0:01:32.46

$ snmpwalk -v2c -c public localhost ifTable
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifDescr.1 = STRING: bfe0
IF-MIB::ifDescr.2 = STRING: plip0
.
.
.
Sharad Chandra


On Tuesday 03 July 2007 12:44 am, Uday Sorte wrote:
> Hi Guys,
>
>
> Are there any MIB variables as a part of standard MIB included with
> net-snmp for reading the system up time (uptime) and system ip address.
>
> or
>
> Is there any way I can read these parameters via SNMP without implementing
> my own MIB for these parameters.
>
> Thanks in Advance,
> Uday
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.