Cisco_ucs probe support for OS hostname

Idea created by Alon_az on Feb 14, 2018
    New
    Score3
    • JWink
    • GuanHua1378
    • Martin.Fink

    We use cisco_ucs probe to monitor "cisco ucs central"  v 2.0 
    The
     issue is  with the server's name . 
    The ucs architecture is like this : 
    Equipment  :
          Rack
      mount1

                     Servers

                            server 1

                            server 2

                             server 3

     

          Rack mount2

                   Servers

                        server 1

                        server 2

                        server 3

                         . .

    The name "server1" is the hardware name , so when we are getting alarm on server , we got this name "server1"  came from variable $monitor
    We want to know what is the Operating System Server name  like FinanceServer1 
    In order to solve this issue we write the "real server name"  on the "ucs central" 
    at this location

    - servers

          - general tab

             there is a  "Free text field "   called  User Label
    we update this field via Powershell 
    Connect-ucs ipaddress
    server1 = Get-ucsServer$
    And Updating this property   -    server1[0].UsrLbl$    

    But the problem is that we are not able to get this field within cisco_ucs probe

    Our IDEA :  when cisco_ucs probe access with Rest Api and get alarm on server level  like memory , disk ,
    network. ........  ,  he will return the variable $monitor and  "User Label"  - server1[0].UsrLbl$   in variable
    "$User_Label"  so we can show this variable on the alarm.