Add custom menu action to ping server from SOI Console


Article ID: 126396


Updated On:


CA Service Operations Insight (SOI)


How can I create an additional action in the SOI Console Alerts pull down menu for ping option. I want to get an option to ping a server and see the output when they right click on an alert.


SOI 4.x


The custom-menu-config.xml file is an example which contains the ping menu item. It takes the ipaddress for the ping command from the attribute NETWORK_Address.
The custom-menu-config.xml has to be copied into the SOI\SamUI\custom\console\config folder. The SOI Console has to be closed and reopened to process the content of this file.

If the ipaddress will have to be taken from other attributes like userAttribute(n)  this can be adjusted like this


<item name="Ping">
<name>Remote Desktop</name>
</privilege> -->
<!--<accelerator modifiers="2">VK_L</accelerator>-->
<command>cmd.exe /c start "local ping {0}" cmd.exe /c "ping.exe -a {0} &amp;&amp; pause" </command>

So the attribute is 0x11004 instead of userAttribute4 which used in this example.

This are the userAttribute hex values

Attribute: User_Attr_1 (0x11030)
Attribute: User_Attr_10 (0x11044)
Attribute: User_Attr_2 (0x11031)
Attribute: User_Attr_3 (0x11032)
Attribute: User_Attr_4 (0x11033)
Attribute: User_Attr_5 (0x11034)
Attribute: User_Attr_6 (0x11040)
Attribute: User_Attr_7 (0x11041)
Attribute: User_Attr_8 (0x11042)
Attribute: User_Attr_9 (0x11043)



1558537072116custom-menu-config.xml get_app