From 79df80057c8eed0a95c86b99e5d62cf17cf50829 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Fri, 9 Feb 2018 13:41:38 -0500 Subject: [PATCH] add example of snmpv3 configuration for chdef --- xCAT-server/lib/xcat/plugins/pdu.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/pdu.pm b/xCAT-server/lib/xcat/plugins/pdu.pm index a0b592797..e5193d711 100644 --- a/xCAT-server/lib/xcat/plugins/pdu.pm +++ b/xCAT-server/lib/xcat/plugins/pdu.pm @@ -480,6 +480,7 @@ sub powerstat { } else { xCAT::SvrUtils::sendmsg("ERROR: No snmpuser or Security level defined for snmpV3 configuration", $callback,$pdu); xCAT::SvrUtils::sendmsg(" use chdef command to add pdu snmpV3 attributes to pdu table", $callback,$pdu); + xCAT::SvrUtils::sendmsg(" ex: chdef coral-pdu snmpversion=3, snmpuser=admin, authtype=MD5 authkey=password1 privtype=DES privkey=password2 seclevel=authPriv", $callback,$pdu); xCAT::SvrUtils::sendmsg(" then run 'rspconfig $pdu snmpcfg' command ", $callback,$pdu); next; }