DX Infrastructure Manager

Expand all | Collapse all

Maintenance mode option in UIM

  • 1.  Maintenance mode option in UIM

    Posted 12 days ago
    Hi All,

     Is there a provision in UIM to keep some set of servers in maintenance mode using Jenkins.  Basically, I have some set of tasks on servers performed using Jenkins, so I looking to suspend montoring during Jenkins tasks and resume monitoring once the task completed. 

    Regards,
    Ragesh M


  • 2.  RE: Maintenance mode option in UIM

    Posted 11 days ago
    Edited by Luc Christiaens 10 days ago
    Main question is: how do you know that Jenkins task will be started and ended? And who will execute the maintenance commands?
    Because UIM has several ways to interact with the maintenance_mode.
    All will pass via UIMAPI call (or Rest services if you are on older versions)
    You can call them via curl, Perl, Java, (and other supported languages)

    If you want to use a pre-coded Perl sample you can have a look at:
    - nimsoft_rest_maintenance (for the moment with rest services, but uimapi will be posted soon): set/unset maintenance via perl command line (https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?MessageKey=6e99bfe5-0543-45f3-bd6e-33a1f11c825b)
    - maint_on probe: set/unset maintenance via Nimalarm that will be trapped and performed by the probe (here also: for the moment with rest services, but new version with uimapi is in tested) (https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer/viewthread?MessageKey=81bfccc5-5d27-4fb3-a1a2-2e745f41e1cc)


  • 3.  RE: Maintenance mode option in UIM

    Posted 7 days ago
    A good starting point to learn/test UIMAPI is: http://uimserver/uimapi/swagger-ui.html
    uimapi_swagger
    This gives you the possibility to enter some parameters and to execute your query.
    It also gives a hint how you can execute it via curl.