11-23-2001
Hi Rado1x
Thanks for ur kind effort.
But I'm not clear from ur suggessation. I would like to explain my sceniro below :
I do have a application that acts as a server & sends snmp traps to the registered clients.
Inside the application the community string is set to Public.,
Know my customer wants to set the comunity string to some other value other than public & I should provide a facility to the outside world so to accept the customer's desired string. I'm planning to do this via., a Script which accepts the community string from the user & then call the actual Unix Program by passing his desired string as a command line parameter.
Currently we have hard coded by setting the community string to public. And know I want this to be in a mutable format.
That is he might want to change from public to some thing else., & I don't know what else can be used other than public. Like is there any thing like Private & any thing else.
So, I want know to what other values that the commuity string can be set with other than public. Hope it is clear know.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What value is read by snmp as a public string on a Fedora workstation. (4 Replies)
Discussion started by: thumper
4 Replies
2. Red Hat
I have edited the snmpd.conf file on RHEL3, I changed:
com2sec notConfigUser default public
to :
com2sec notConfigUser default new_string_name
BUT, when my security guy scans the box, is still answers to public, I restarted snmpd.
Is there more to this than just changing... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
3. 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
4. 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
5. 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
6. 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
7. 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
LEARN ABOUT DEBIAN
snmp::info::layer3::netscreen
Info::Layer3::Netscreen(3pm) User Contributed Perl Documentation Info::Layer3::Netscreen(3pm)
NAME
SNMP::Info::Layer3::Netscreen - SNMP Interface to Juniper Netscreen Devices
AUTHOR
Kent Hamilton
SYNOPSIS
#Let SNMP::Info determine the correct subclass for you.
my $netscreen = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $netscreen->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Provides abstraction to the configuration information obtainable from a Netscreen device through SNMP. See inherited classes' documentation
for inherited methods.
my $netscreen = new SNMP::Info::Layer3::Netscreen(...);
Inherited Classes
SNMP::Info::Layer3
Required MIBs
NETSCREEN-SMI
NETSCREEN-PRODUCTS-MIB
NETSCREEN-INTERFACE-MIB
NETSCREEN-SET-GEN-MIB
Inherited Classes
See "Required MIBs" in SNMP::Info::Layer3 and its inherited classes.
GLOBALS
These are methods that return scalar value from SNMP
$netscreen->vendor()
Returns 'netscreen'
$netscreen->os()
Returns 'screenos'
$netscreen->os_ver()
Extracts the OS version from the description string.
$netscreen->serial()
Returns serial number..
Overrides
$netscreen->layers()
Returns 01001100. Device doesn't report layers properly, modified to reflect Layer3 functionality.
Globals imported from SNMP::Info::Layer3
See "GLOBALS" in SNMP::Info::Layer3 for details.
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
Table Methods imported from SNMP::Info::Layer3
See "TABLE METHODS" in SNMP::Info::Layer3 for details.
perl v5.12.4 2011-09-28 Info::Layer3::Netscreen(3pm)