1753359 Members
5130 Online
108792 Solutions
New Discussion юеВ

Re: snmp

 
SOLVED
Go to solution
manuj kumar
Frequent Advisor

snmp

Hello

i am trying to configure snmp to use sommunity string and ip .
OS: hpux 11i v3

how to do this?
it is not appearing in SMH, is there any plug-in to smh to be able to manage smtp?

thanks
man
9 REPLIES 9
Matti_Kurkela
Honored Contributor

Re: snmp

Edit /etc/SnmpAgent.d/snmpd.conf using your favorite editor.

The file contains a lot of comments describing the correct syntax.

You'll want to add settings like:

get-community-name: IP:
trap-dest:

MK
MK
manuj kumar
Frequent Advisor

Re: snmp

thanks matti

i modified the below in /etc/snmpd.conf

get-community-name MyString IP: 172.30.1.23
trap-dest: 172.30.1.23

then i restarted snmp service,
/sbin/init.d/SnmpMaster stop
/sbin/init.d/SnmpMaster start

, but when i am trying to test the connectivity with the new string it failed.
i am testing using SNMP tester.

thanks

manuj kumar
Frequent Advisor

Re: snmp

Any Help
P Muralidhar Kini
Honored Contributor

Re: snmp

Hi Manuj,

For more details about including community name/IP in snmpd.conf, Refer
http://docs.hp.com/en/B9106-90011/snmpd.conf.4.html

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
P Muralidhar Kini
Honored Contributor
Solution

Re: snmp

Hi Manuj,

Also, Discussion on a similar requirement -

* get-community-name: public
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1325053

* enable SNMP on HPUX server
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1301680

* SNMP Community Strings - not secure enough?
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=32084

* How do I test (get)set-community-name in /etc/SnmpAgent.d/snmpd.conf?
http://www.linuxquestions.org/questions/other-*nix-55/hpux-how-do-i-test-get-set-community-name-in-etc-snmpagent-d-snmpd-conf-758824/

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
manuj kumar
Frequent Advisor

Re: snmp

01/07/2010 10:43:05 - Connecting to WhatEverIput@10.10.2.118...
01/07/2010 10:43:26 - ERROR: Unable to complete the test.
01/07/2010 10:43:26 - ERROR: The request timed-out. (40)


this is the error i am getting when i try to do the snmp test.
Azamat
Frequent Advisor

Re: snmp

hi,

# /sbin/init.d/SnmpMaster stop
# /usr/sbin/snmpd


or

# /sbin/init.d/emsa stop
emsagent stopped
# /sbin/init.d/SnmpHpunix stop
# /sbin/init.d/SnmpMaster stop
snmpdm stopped

# /sbin/init.d/SnmpMaster start
SNMP Research SNMP Agent Resident Module Version 14.2.1.7
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 SNMP
Research, Inc.
# /sbin/init.d/SnmpHpunix start
# /sbin/init.d/emsa start

ems should be restart too, if installed ofc
manuj kumar
Frequent Advisor

Re: snmp

hi

i am sorry, but no luck.

can anybody help me please?.

thanks
Man
manuj kumar
Frequent Advisor

Re: snmp

please advice. should i reboot the server to make snmp work!
since it is a production server, i put that option as my last option.

thanks