Hello all, I have a question about NetSnmp "http://net-snmp.sourceforge.net/" I wanna configure my NetSnmp that when i get information by snmpget|walk from snmpagent from specific OID, netsnmp will execute configured command and will return me command output with string .... For example: I do get... (0 Replies)
Hello all
Currently I am trying to install net-snmp-5.5 on a V480 Solaris 8 machine however things are hardly going smooth. I'm running configure will the following options.
./configure --prefix=/usr/local --with-mib-modules="smux ucd-snmp/diskio ucd-snmp/lmSensors host"... (2 Replies)
Hi,
I am unable to login into my terminal hosting Solaris 10 and get the below error message
"Server refused to allocate pty
ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory "
Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
hello,
I installed netsnmp 5.6 on solaris 8 (sparc).
now I want to have cpu, memory and disk used, for this when i execute:
snmpwalk -v1 -c public localhost memory
it displays me:
End of mib
please tel me how to do, to have this information (cpu, memory and disk used).
thank you (0 Replies)
Hello Experts,
I have recently configured SNMP my Solaris SPARC boxes for getting the resource utilizations on Whats Up Gold (hereby referred as WUG) tool. Lately we have upgraded WUG from 12 to 14 version. Then on CPU utilization of SPARC machines isn't populating on the dashboard (other HDD, RAM... (9 Replies)
Hi Admins,
I have configured net-snmp with my aix 5.3 server. how to add the same in rc scripts,so that net-snmp will start automatically post server reboot.
As per now , i have to start snmp manually after server reboot.
Thanks in advance
newaix (0 Replies)
Discussion started by: newaix
0 Replies
LEARN ABOUT DEBIAN
snmp::info::layer3::netsnmp
Info::Layer3::NetSNMP(3pm) User Contributed Perl Documentation Info::Layer3::NetSNMP(3pm)NAME
SNMP::Info::Layer3::NetSNMP - SNMP Interface to L3 Net-SNMP Devices
AUTHORS
Bradley Baetz and Bill Fenner
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $netsnmp = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $netsnmp->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Subclass for Generic Net-SNMP devices
Inherited Classes
SNMP::Info::Layer3
Required MIBs
UCD-SNMP-MIB
NET-SNMP-TC
HOST-RESOURCES-MIB
Inherited Classes' MIBs
See SNMP::Info::Layer3 for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
$netsnmp->vendor()
Returns 'Net-SNMP'.
$netsnmp->os()
Returns the OS extracted from "sysDescr".
$netsnmp->os_ver()
Returns the software version extracted from "sysDescr", along with the Net-SNMP version.
$netsnmp->uptime()
Returns the system uptime instead of the agent uptime. NOTE: discontinuity timers and other Time Stamp based objects are based on
agent uptime, so use orig_uptime().
$netsnmp->serial()
Returns ''.
Globals imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.
TABLE ENTRIES
These are methods that return tables of information in the form of a reference to a hash.
Overrides
$netsnmp->i_ignore()
Returns reference to hash. Increments value of IID if port is to be ignored.
Ignores loopback
Table Methods imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.
NOTES
In order to cause SNMP::Info to classify your device into this class, it may be necessary to put a configuration line into your snmpd.conf
similar to
sysobjectid .1.3.6.1.4.1.8072.3.2.N
where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255 if not listed). Some Net-SNMP installations default to an
incorrect return value for "system.sysObjectId".
In order to recognize a Net-SNMP device as Layer3, it may be necessary to put a configuration line similar to
sysservices 76
in your snmpd.conf.
perl v5.12.4 2011-09-28 Info::Layer3::NetSNMP(3pm)