ITOM Remediation - Run Action on Network Device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2024 08:49 AM
Hi,
I have to run a remediation action on a network device.
I have already configured an action in the past to clean the disk space of a Linux server via ssh step that executes a mid server script file on the target host.
Now, to run an action on network device, is there a different best practice?
Thanks & Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2024 11:45 AM
Hey there @Giovanni Eggidi
Thats a good question so running remediation actions on network devices involves different methods compared to servers. While SSH might be suitable for accessing and executing commands on Linux servers, network devices often require protocols like SNMP or SSH for configuration changes.
let me drop you some best practices
1. If the network device supports SNMP, you can use SNMP-based actions to retrieve information . SNMP allows you to query devices for various metrics and trigger actions based on specific conditions.
2. Many network devices support CLI access via Telnet . You can create actions that execute CLI commands to perform configuration changes.
3. Some modern network devices offer REST APIs for automation. You can integrate ServiceNow with these APIs to perform actions such as configuration changes, firmware upgrades, etc
4. If direct access to network devices is not possible due to security constraints, you can use a proxy or jump server that acts as an intermediary for executing actions on the devices.
If this helps kindly accept the response thanks much.
Best regards,
Azar
Kind Regards,
Mohamed Azarudeen Z
Developer @ KPMG
Microsoft MVP (AI Services), India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 03:41 AM
Hi, thanks for your answer.
What kind of step do you think is useful for our action in flow designer? if I want to use the snmp protocol I can't use the ssh step and I don't see the snmp step.
Regards, Giovanni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 03:48 AM
Hi again @Giovanni Eggidi
i dont think, you will find a dedicated "SNMP" step available. butt, you have alternative options to work with SNMP in your flow.
you can create a custom scripted REST API endpoint in ServiceNow that interacts with SNMP-enabled devices. This endpoint can execute SNMP queries and perform actions based on the results.
IntegrationHub has pre-built spokes for interacting with various systems and protocols, including SNMP. You can use the SNMP spoke to integrate with SNMP.
If you're comfortable with scripting, you can use custom JavaScript code within a Script step in the flow to interact with SNMP.
Hope this helps you, and kindly accept the response and give a thumps up if it did help, thanks again.
Regards
Azar
Kind Regards,
Mohamed Azarudeen Z
Developer @ KPMG
Microsoft MVP (AI Services), India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 04:40 AM
HI @Giovanni Eggidi ,
Could you explain what remediation you want to action on network devices ?
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....