snmp config grab - right off Ciscos Page

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring snmp config grab - right off Ciscos Page
# 1  
Old 07-17-2009
snmp config grab - right off Ciscos Page

I need to update my scripts. I have been using depreciated oids.

I referred to the Cisco site docs and found

snmpset -v 2c -c .1.3.6.1.4.1.9.9.96.1.1.1.1.2. i 1
.1.3.6.1.4.1.9.9.96.1.1.1.1.3. i 4
.1.3.6.1.4.1.9.9.96.1.1.1.1.4. i 1
.1.3.6.1.4.1.9.9.96.1.1.1.1.5. a ""
.1.3.6.1.4.1.9.9.96.1.1.1.1.6. s ""
.1.3.6.1.4.1.9.9.96.1.1.1.1.14. i 4

I send in v1 and v2c

snmpset -v 1 -c xxxxx 10.131.255.40 .1.3.6.1.4.1.9.9.96.1.1.1.1.2.111 i 1

snmpset -v 1 -c xxxxx 10.131.255.40 .1.3.6.1.4.1.9.9.96.1.1.1.1.3.111 i 4

snmpset -v 1 -c xxxxx 10.131.255.40 .1.3.6.1.4.1.9.9.96.1.1.1.1.4.111 i 1

snmpset -v 1 -c xxxxx 10.131.255.40 .1.3.6.1.4.1.9.9.96.1.1.1.1.5.111 a "10.10.57.72"


snmpset -v 1 -c xxxxxx 10.131.255.40 .1.3.6.1.4.1.9.9.96.1.1.1.1.6.111 s "file.nam"

snmpset -v 1 -c xxxxxx 10.131.255.40 1.3.6.1.4.1.9.9.96.1.1.1.1.14.111 i 4

right after this oid, initiate transfer, is pushed down ... I receive
Error in packet.
Reason: (badValue) The value given has the wrong type or length.
Failed object: SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.14.111

I need another set of eyes !!!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies

2. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

3. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

4. HP-UX

How to config SNMP for hp-ux 11.31?

Hi! Please can you help me to configure SNMP to be used by another application on port 161? The aim is to monitor CPU, Memory and disk parameters. Hi have the following files in my hp-ux system: /etc/SnmpAgent.d/snmpd.conf /etc/snmpd.conf /usr/newconfig/etc/SnmpAgent.d/snmpd.conf ... (1 Reply)
Discussion started by: fretagi
1 Replies

5. Shell Programming and Scripting

Writing an snmp script to grab multiple oids at once

is it possible to grab the following oids with one invocation of the snmp command, instead of having to run separate commands: snmpwalk -v2c -c commst hostname hrStorageUsed snmpwalk -v2c -c commst hostname hrStorageDescr snmpwalk -v2c -c commst hostname hrStorageAllocationUnits ... (2 Replies)
Discussion started by: SkySmart
2 Replies

6. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

7. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

8. Emergency UNIX and Linux Support

Grab total page read from webalizer display in html

Hi, I need a way to grab the total combines since inception, total pages read from webalizer on my centos server or any other location (as long as since inception) and display the result live on my website So with each visit it would be increasing, or perhaps live (ajax) not sure But can... (0 Replies)
Discussion started by: lawstudent
0 Replies

9. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

10. Infrastructure Monitoring

net-snmp-config --create-snmpv3-user snmpengineID

Solaris 10 -- I created SNMPv3 users with net-snmp-config --create-snmpv3-user command. I am using HP Network Node Manager's SNMPv3 Smart Plugin to serve as the SNMP management server. Some SNMPv3 users were automatically created with the same snmpengineID. This causes NNM's brassagt proxy to... (0 Replies)
Discussion started by: rjsteele
0 Replies
Login or Register to Ask a Question
PMDASNMP(1)						       Performance Co-Pilot						       PMDASNMP(1)

NAME
pmdasnmp - Gateway from SNMP to PCP (PMDA) DESCRIPTION
pmdasnmp is a Performance Metrics Domain Agent (PMDA) which provides a generic gateway from PCP queries from a PCP client to SNMP queries to one or more SNMP agents. INSTALLATION
If you want access to the SNMP gateway performance metrics, do the following as root: # cd $PCP_PMDAS_DIR/snmp # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/snmp # ./Remove pmdasnmp is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. CONFIGURATION
TODO: define config file format here - map/set/host/... etc FILES
$PCP_PMDAS_DIR/snmp/snmp.conf optional configuration file for pmdasnmp $PCP_PMDAS_DIR/snmp/Install installation script for the pmdasnmp agent $PCP_PMDAS_DIR/snmp/Remove undo installation script for the pmdasnmp agent $PCP_LOG_DIR/pmcd/snmp.log default log file for error and warn() messages from pmdasnmp SEE ALSO
pmcd(1) and SNMP 3.8.10 Performance Co-Pilot PMDASNMP(1)