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
dhelp_parse(8)							Debian Linux manual						    dhelp_parse(8)

NAME
dhelp_parse - Debian online help parser SYNOPSIS
dhelp_parse [ -r | -i | -a doc-base_file | -d doc-base_file ] DESCRIPTION
This program is used by package developers to register the documents included in a package. In most cases it is called by install-docs (see doc-base package), which in turn is called from the postinst and prerm scripts of a Debian package. An index of the registered documents is written in the directory /usr/share/doc/HTML OPTIONS
-h,--help Displays the help page. -a Adds the documentation found in the given doc-base files to the dhelp database. -d Deletes the documentation found in the given doc-base files from the dhelp database. -i Does an incremental update of the documents index for all documentation added with the -a switch after the last index update. -r Ignored, kept for compatibility. PACKAGE DEVELOPERS
You should usually rely on install-docs to do the work for you, but if for some reason you want to use dhelp_parse directly (not recom- mended!), you have to call it like this: postinst if [ -x /usr/sbin/dhelp_parse ]; then dhelp_parse -a /var/lib/doc-base/documents/foo fi prerm if [ -x /usr/sbin/dhelp_parse ]; then dhelp_parse -d /var/lib/doc-base/documents/foo fi Note that /var/lib/doc-base/documents/foo has to be a valid doc-base file (see doc-base documentation). SEE ALSO
dhelp(1), install-docs(8) AUTHOR
This package was written by Esteban Manchado Velazquez (zoso@debian.org). Debian 29 May 2008 dhelp_parse(8)