10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
Info::CiscoConfig(3pm) User Contributed Perl Documentation Info::CiscoConfig(3pm)
NAME
SNMP::Info::CiscoConfig - SNMP Interface to Cisco Configuration Files
AUTHOR
Justin Hunter, Eric Miller
SYNOPSIS
my $ciscoconfig = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $ciscoconfig->class();
print " Using device sub class : $class
";
DESCRIPTION
SNMP::Info::CiscoConfig is a subclass of SNMP::Info that provides an interface to CISCO-CONFIG-COPY-MIB, CISCO-FLASH-MIB, and OLD-CISCO-
SYS-MIB. These MIBs facilitate the writing of configuration files.
Use or create a subclass of SNMP::Info that inherits this one. Do not use directly.
Inherited Classes
None.
Required MIBs
CISCO-CONFIG-COPY-MIB
CISCO-FLASH-MIB
OLD-CISCO-SYS-MIB
GLOBALS
These are methods that return scalar value from SNMP
$ciscoconfig->old_write_mem()
("writeMem")
$ciscoconfig->old_write_net()
("writeNet")
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Config Copy Request Table ("ccCopyTable")
$ciscoconfig->config_protocol()
("ccCopyProtocol")
$ciscoconfig->config_source_type()
("ccCopySourceFileType")
$ciscoconfig->config_dest_type()
("ccCopyDestFileType")
$ciscoconfig->config_server_addr()
("ccCopyServerAddress")
$ciscoconfig->config_filename()
("ccCopyFileName")
$ciscoconfig->config_username()
("ccCopyUserName")
$ciscoconfig->config_password()
("ccCopyUserPassword")
$ciscoconfig->config_notify_complete()
("ccCopyNotificationOnCompletion")
$ciscoconfig->config_copy_state()
("ccCopyState")
$ciscoconfig->config_copy_start_time()
("ccCopyTimeStarted")
$ciscoconfig->config_copy_complete_time()
("ccCopyTimeCompleted")
$ciscoconfig->config_fail_cause()
("ccCopyFailCause")
$ciscoconfig->config_row_status()
("ccCopyEntryRowStatus")
Flash Copy Table ("ciscoFlashCopyTable")
Table of Flash copy operation entries.
$ciscoconfig->flash_copy_cmd()
("ciscoFlashCopyCommand")
$ciscoconfig->flash_copy_protocol()
("ciscoFlashCopyProtocol")
$ciscoconfig->flash_copy_address()
("ciscoFlashCopyServerAddress")
$ciscoconfig->flash_copy_source()
("ciscoFlashCopySourceName")
$ciscoconfig->flash_copy_dest()
("ciscoFlashCopyDestinationName")
$ciscoconfig->flash_copy_row_status()
("ciscoFlashCopyEntryStatus")
SET METHODS
These are methods that provide SNMP set functionality for overridden methods or provide a simpler interface to complex set operations. See
"SETTING DATA VIA SNMP" in SNMP::Info for general information on set operations.
$ciscoconfig->copy_run_tftp (tftpserver, tftpfilename )
Store the running configuration on a TFTP server. Equivalent to the CLI commands "copy running-config tftp" or "write net".
This method attempts to use newer "copy running-config tftp" procedure first and then the older "write net" procedure if that fails.
The newer procedure is supported Cisco devices with the CISCO-CONFIG-COPY-MIB available, Cisco IOS software release 12.0 or on some
devices as early as release 11.2P. The older procedure has been depreciated by Cisco and is utilized only to support devices running
older code revisions.
Example:
$ciscoconfig->copy_run_tftp('1.2.3.4', 'myconfig')
or die Couldn't save config. ",$ciscoconfig->error(1);
$ciscoconfig->copy_run_start()
Copy the running configuration to the start up configuration. Equivalent to the CLI command "copy running-config startup-config" or
"write mem".
This method attempts to use newer "copy running-config startup-config" procedure first and then the older "write mem" procedure if that
fails. The newer procedure is supported Cisco devices with the CISCO-CONFIG-COPY-MIB available, Cisco IOS software release 12.0 or on
some devices as early as release 11.2P. The older procedure has been depreciated by Cisco and is utilized only to support devices
running older code revisions.
Example:
$ciscoconfig->copy_run_start()
or die "Couldn't save config. ",$ciscoconfig->error(1);
perl v5.12.4 2011-09-28 Info::CiscoConfig(3pm)