Re: snmp
2002-06-21 03:50:52
Password of SNMPADMIN has nothing to do with community name. In fact
whatever password you set it does not matter.
Community string is necessary for SNMP operations.
Assuming you are using snmpinfo from the *same* box you should use:
# snmpinfo -v -ms -c private ibmAdsmServerScript1.1="q_db_util"
Note usage of '-c private'. This is the community with ReadWrite access as
per default /etc/snmpd.conf installed by AIX. If your site have modified
the communities in the file select appropriate one.
Later read the result with any Read community. Do not forget that *each*
read on ibmAdsmM1ReturnValue invokes the script again.
Example:
# snmpinfo -v -ms -c private ibmAdsmServerScript1.1="datetime"
ibmAdsmServerScript1.1 = "datetime"
# snmpinfo -v -mg ibmAdsmM1ReturnValue.1
ibmAdsmM1ReturnValue.1 = "
Date Time
---------- ----------
2002-06-21 10:40:23
2002-06-21 10:40:23
ANR1462I RUN: Command script DATETIME completed successfully.
"
Hope this helps. If not ask again.
Zlatko Krastev
IT Consultant
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc:
Subject: snmp
Hello all,
can somebody help me? I have problem with snmp, I cannot use defined own
script
I can see some information with command:
# snmpinfo -v -md ibmAdsm
but command doesn't work:
# snmpinfo -v -ms ibmAdsmServerScript1.1="q_db_util"
noSuchName at position 0 - with result 255 return code
Everything is default I set passwd for SNMPADMIN on public as community
name and I defined script "q_db_util" in TSM server.
I have TSM server 4.1.2 on AIX 4.3.3.
Thank you for answer
Filip Há?a
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- Re: snmp,
Zlatko Krastev/ACIT <=
|
|
|