2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-06 18:28:16 +00:00

Set community to public in moncfg for now

This commit is contained in:
Jarrod Johnson
2017-06-13 13:52:08 -04:00
parent 2b8d9048b5
commit ee77d4f79a

View File

@@ -535,8 +535,8 @@ sub configBMC {
$ret_val = 1;
$ret_text .= "Converting to IP: $ptmp->[1]\n";
} else {
print "XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1]\n";
my $result2 = `XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1] 2>&1`;
print "XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1] community=public\n";
my $result2 = `XCATBYPASS=Y rspconfig $nr2 snmpdest=$ptmp->[1] community=public 2>&1`;
if ($?) {
$ret_val = 1;
xCAT::MsgUtils->message('S', "[mon]: Changing SNMP destination for IPMI nodes $nr2:\n $result2\n");