- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Disabling SNMP v1 Service
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2021 03:59 AM - last edited on 09-13-2021 04:12 AM by support_s
08-25-2021 03:59 AM - last edited on 09-13-2021 04:12 AM by support_s
Disabling SNMP v1 Service
The iLO5 Redfish REST API says that /redfish/v1/managers/{item}/snmpservice has GET, POST, and PATCH available. I can use:
curl --silent --insecure --header "X-Auth-Token: ${iLOAuth}" --request GET https://myserver-ilo.com/redfish/v1/Managers/1/snmpservice | jq -r .SNMPv1Enabled'
to retrieve the state of the service, but I can't quite figure out how to set it. The documentation is not showing how to do that (at least that I could find). I'm trying:
curl --silent --insecure --header "X-Auth-Token: ${iLOAuth}" \
--data "{\"SNMPv1Enabled\": false }" --header "Content-Type: application/json" \
--request GET https://myserver-ilo.com/redfish/v1/Managers/1/snmpservice | jq -r '.'
and I get back:
{
"error": {
"code": "iLO.0.10.ExtendedInfo",
"message": "See @Message.ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"MessageArgs": [
"Action"
],
"MessageId": "Base.1.4.PropertyMissing"
}
]
}
}
Does anyone know how to correctly disable SNMP v1 through the REST API?