LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 09-30-2009, 10:48 PM   #1
quanba
Member
 
Registered: Jul 2009
Posts: 41

Rep: Reputation: 15
HPUX: How do I test (get)set-community-name in /etc/SnmpAgent.d/snmpd.conf?


Hi, I am a newbie to HPUX,

When I configure /etc/SnmpAgent.d/snmpd.conf, I found entries begin with set-community-name and get-community-name.

what are the meanings of these entries and how do I test if the entries work?

Thanks in advance.
 
Old 10-01-2009, 02:27 AM   #2
dave.donaghy
LQ Newbie
 
Registered: Apr 2009
Posts: 6

Rep: Reputation: 1
I'm not an expert in HP-UX, but in general, these things are talking about SNMP version 1 "community names", which are (a bit like) passwords, although they're passed around in clear text, so aren't really like any other passwords you might be familiar with.

Whenever you send a get request in SNMP, the request has a community name attached to it: if this community name matches the get community name specifed at the agent end (that is, in your snmpd.conf), then all is well.

Similarly for SNMP set requests.

You can test if the entries work by and changing the community names in snmpd.conf, and then attempting get and set operations on any MIBs that you have installed.

For a few examples of how this works with net-snmp (and open-source SNMP agent implementation) see www.net-snmp.org, but do bear in mind that (since I'm not an HP-UX expert (nor indeed an SNMP expert!)) the details may vary with your local stuff.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with snmpd.conf couldn't snmpwalk with the ip 118.107.242.20? andrewhbk Linux - Networking 5 08-19-2009 11:48 AM
configuring snmpd.conf on RHLE5.2 gsahota72 Linux - Networking 1 05-19-2009 11:16 AM
configuring snmpd.conf on RHLE5.2 gsahota72 Linux - Newbie 1 05-19-2009 10:27 AM
How to add MIB's in snmpd.conf file manish_2479 Linux - Networking 0 07-09-2007 03:11 PM
Sending traps in snmpd.conf rbh123 Linux - Networking 0 09-18-2006 09:19 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration