Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmpstatus.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmpstatus.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmpstatus.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmpstatus.html on line 8

snmpstatus

Retrieve information from a network entity


Note: This utility has been deprecated in SNMP version 2.

Syntax:

snmpstatus [-d] host [community]

Runs on:

Neutrino

Options:

-d
Dump input and output packets.
community
The community name for the transaction with the remote system (default is public).
host
An Internet address specified in dot notation or a host name.

Description:

The snmpstatus utility retrieves these statistics from a network entity:

Statistic Variable
IP address of the entity -
Textual description of the entity sysDescr.0
Uptime of the entity sysUpTime.0
Sum of received packets on all interfaces ifInU - CastPkts.* + ifInNUCastPkts.*
Sum of transmitted packets on all interfaces ifOutU - CastPkts.* + ifOutNUCastPkts.*
Number of IP input packets ipInReceives.0
Number of IP output packets ipOutRequests.0

The snmpstatus utility also checks the operational status of all interfaces (ifOperStatus.*), and if it finds any interfaces that aren't running, it displays a report similar to:

2 interfaces are down!

Examples:

This command:

snmpstatus netdev-kbox.cc.cmu.edu public

produces output similar to:

[128.2.56.220]=>[Kinetics FastPath2] Up: 1 day, 4:43:31 

IF recv/trans packets 262874/39867 | IP recv/trans packets
31603/15805

Errors:

If the network entity has an error processing the request packet, an error packet is returned and snmpstatus displays a message to help pinpoint how the request was malformed. If you've specified other variables, snmpstatus resends the request without the variable that caused the problem.

Caveats:

This utility has been deprecated; it works only with SNMP version 1. If you need similar functionality with SNMPv2, you should do the snmpget commands separately.

See also:

snmpd, snmpget, snmpgetnext, snmpnetstat, snmptest, snmptrap, snmptrapd, snmpwalk

/etc/mib.txt file

Based on RFC 1065, RFC 1066, RFC 1067

Marshall T. Rose, The Simple Book: An Introduction to Internet Management, Revised 2nd ed. (Prentice-Hall, 1996, ISBN 0-13-451659-1)


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/snmpstatus.html on line 211

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/snmpstatus.html on line 211