perl Net::SNMP version getting info from cisco switch
I am having trouble working with SNMP module with perl. I am trying to get SNMP version of target system. I use following code to get it however it resturns error as "Argument "v6.0.1" isn't numeric in numeric lt (<) at ./chk_env_upd.pl line 447."
Hi,
I installed Ubnutu on my old laptop which does have COMM port, I want to connect to Cisco switch, I have Cisco cable connected to laptop.
On Windows, I usually bring up "Hyper Terminal" how do I do it here?
Please advice. Thanks. (7 Replies)
Happy ThanksGiving guys,
I'm working on a script that will use nmap to enumerate a network for active cisco switches. Once the list is complete, we use sed to clean up the file (called nmapres) so it is only a list of IP addresses. Next I want to use a while statement to go down that list of... (6 Replies)
I am trying to install net-snmp on an HPUX box. I am getting the fallowing error message when I try to run the snmpconf file. I installed the fallowing version of
net-snmp
net-snmp-5.0.10.2-HP-UX_B.11.11_9000_800.tar and my
HPUX box is version
HP-UX commnms B.11.11 U 9000/800... (2 Replies)
I am writing perl script to configure Cisco device but Variables inside Net::Telnet::Cisco Module doesn't work and passed to device without resolving.
Please advise.
here is a sample of script:
use Net::Telnet::Cisco;
$device = "10.14.199.1";
($o1, $o2, $o3, $o4) = split(/\./,$device);... (5 Replies)
Hi experts,
I need to cope configuration from one switch/firewall to another switch/firewall.
I have copied running configs.
The question is do I have to clear the existing configuration on the dest. devices
Or can I copy it(replace) directly without clearing previous config ?
If... (2 Replies)
Hello all!
I am running Nagios 3.3.1 and I am trying to get it to monitor the ports on my Cisco Catalyst 3524-XL-PWR Managed Switch. But I keep getting "(Return code of 127 is out of bounds - plugin may be missing)" I have installed and compiled the plugins and the snmp services on the Ubuntu... (0 Replies)
Hi all,
Error occurred while making the net-snmp-5.4.4 on Solaris 5.10 version.
Environment
- Solaris 5.10-x86
- Net-SNMP-5.4.4.tar.gz
- Path (/etc/profile)
PATH=/usr/local/bin:$PATH
export PATH
LD_LIBRARY_PATHUSR=/usr/ccs/bin:
export LD_LIBRARY_PATH
Error01 - summary
***... (3 Replies)
Discussion started by: ziosnim
3 Replies
LEARN ABOUT SUNOS
libssasnmp
libssasnmp(3LIB) Interface Libraries libssasnmp(3LIB)NAME
libssasnmp - Sun Solstice Enterprise SNMP library
SYNOPSIS
cc [ flag... ] file... -lssasnmp [ library.. ]
DESCRIPTION
The libssasnmp library provides low-level SNMP API functions.
o ASN.1 serialization (encoding/decoding) module
o SNMP PDU development routines
o SNMP session module
o Low level SNMP based API functions
o Error-handling module
o Trace (debugging) module
INTERFACES
The shared object libssasnmp.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
SSAOidCmp SSAOidCpy
SSAOidDup SSAOidFree
SSAOidInit SSAOidNew
SSAOidStrToOid SSAOidString
SSAOidZero SSAStringCpy
SSAStringInit SSAStringToChar
SSAStringZero
FILES
/usr/lib/libssasnmp.so.1 shared object
/usr/lib/64/libssasnmp.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsasnm |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO intro(3), libssagent(3LIB), attributes(5)SunOS 5.10 22 May 2003 libssasnmp(3LIB)