Operating System - HP-UX
1834020 Members
2623 Online
110063 Solutions
New Discussion

Re: Rules for snmp GET and SET strings -

 
OFC_EDM
Respected Contributor

Rules for snmp GET and SET strings -

I have to determine our snmp get and set strings for HP-UX, Microsoft and Linux servers.

But what are the valid characters for SNMP GET and READ strings?

All I know for certain is no blanks.


The Devil is in the detail.
5 REPLIES 5
Sundar_7
Honored Contributor

Re: Rules for snmp GET and SET strings -

Did you mean SNMP GET and SET strings ? GET and READ are one and the same :-) atleast as far as I know.

/etc/SnmpAgent.d/snmpd.conf is where you set the GET/SET community strings. Looks to me, anything that is not blank will do.
Learn What to do ,How to do and more importantly When to do ?
Sundar_7
Honored Contributor

Re: Rules for snmp GET and SET strings -

Did you mean SNMP GET and SET strings ? GET and READ are one and the same :-) atleast as far as I know.

/etc/SnmpAgent.d/snmpd.conf is where you set the GET/SET community strings. Looks to me, anything that is not blank will do. I dont know if special characters are permitted. But setting it to anything other than the default "public" is safe enough, according to me.
Learn What to do ,How to do and more importantly When to do ?
Bill Hassell
Honored Contributor

Re: Rules for snmp GET and SET strings -

Are you asking about the SNMP MIB information returned by HP-UX? If so, you can download the Net-snmp tool which has snmpwalk that will allow you to browse the available information. Get a copy at:

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111


Bill Hassell, sysadmin
OFC_EDM
Respected Contributor

Re: Rules for snmp GET and SET strings -

Ha ha yes I meant GET and SET strings.
The Devil is in the detail.
OFC_EDM
Respected Contributor

Re: Rules for snmp GET and SET strings -

It seems to accept various characters such as @#$! etc.

Thanks. And thanks for the tip about the Net-Snmp tools
The Devil is in the detail.