Server Management - Remote Server Management
1830939 Members
1969 Online
110017 Solutions
New Discussion

Powershell set-hpeilosnmpalertsetting not disabling

 
uzimmermann
Frequent Advisor

Powershell set-hpeilosnmpalertsetting not disabling

I upgraded a number of iLO5s to 2.91 and that introduced a separate setting for SNMP v1 Traps, which causes a Security Alert.

I am trying to run this command via powershell:

Set-HPEiLOSNMPAlertSetting -Connection $iloconn -SNMPv1Trap Disabled

But this does not disable the v1 Trap. 

Any suggestions? Bug in the powershell module? This is on version 4,.10 which is the latest.

 

2 REPLIES 2
thutchings
HPE Pro

Re: Powershell set-hpeilosnmpalertsetting not disabling

Hello,

 

I am getting the same result in my lab environment. I notice the raw PATCH option via redfish works fine, so that should be a workaround available.

 

I would recommend opening a formal case to get this looked into.

 

Regards



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
eri14
Senior Member

Re: Powershell set-hpeilosnmpalertsetting not disabling

Hello

If we make iLO settings via PowerShell script, including disable SNMPv1 request & Trap in the alert settings, these are enabled again after the iLO reset.

Testet with single steps in ISE: 
After running the command 'Set-HPEiLOSNMPAlertSetting -Connection $connect -SNMPv1Enabled Disabled -SNMPv1Trap Disabled', the settings are disabled. After the ilo reset, both settings are enabled again!

- iLO Version 2.91
- HPEiLOcmdlets 4.2.0.0

It works on hosts with a higher or lower iLO version.

Regards