DX NetOps

 View Only
  • 1.  COMMAND LINE DISABLE POLLING NOT COMPLETE

    Posted Aug 05, 2020 09:06 AM
    Edited by GPD Aug 05, 2020 09:06 AM
    Hi,

    when executing the command in CA EHEALTH

    nhModifyElements -fieldName poll -value no -inFile disable-2020.txt

    Is returning DCI MERGE error

    Error: Errors occurred during configuration update, errors are saved in '/products/ehealth/log/pollerAudit.08.05.2020.100345.log'.
    Error: Invocation of command 'nhiDciMerge' failed.
    Error: Invocation of command 'nhiConfig' failed.

    log content:
    08/05/2020-10:03:45--03 ehuser i error 0 modify PMILITAR_GMR5010544 "element not found" DciOcNoSuchElemName PMILITAR_GMR5010544 explicit-operation


    Cássio Pinheiro - GPD


    ------------------------------
    Analista
    Cia de Tecnologia da Informação de Minas Gerais - PRODEMGE
    ------------------------------


  • 2.  RE: COMMAND LINE DISABLE POLLING NOT COMPLETE

    Posted Aug 05, 2020 09:53 AM
    Hi,

    I figured out my mistake, but I got into another mistake. the error is that the element name has only part of it.

    How can I generate the full name of each element from a device list where I have only IP and, or part of the name?

    Example :
    my List  -  10.162.192.142 - PMILITAR_AYN5011118

    Element - 10.163.192.142 - PMILITAR_AYN5011106-ethernet0
                                              - PMILITAR_AYN5011106-port-1
                                              - PMILITAR_AYN5011106-port-2
                               ...                         ...
                               ...                         ...


    Cássio Pinherioo - GPD

    ------------------------------
    Analista
    Cia de Tecnologia da Informação de Minas Gerais - PRODEMGE
    ------------------------------



  • 3.  RE: COMMAND LINE DISABLE POLLING NOT COMPLETE

    Broadcom Employee
    Posted Aug 05, 2020 06:33 PM
    Hi,

    What is being used to generate the list of elements?

    Thanks,
    Mike

    ------------------------------
    Technical Support Engineer IV
    Broadcom
    ------------------------------



  • 4.  RE: COMMAND LINE DISABLE POLLING NOT COMPLETE
    Best Answer

    Broadcom Employee
    Posted Aug 06, 2020 07:53 AM
    Hi Cassio,
    Try to use these eH commands:
    nhListElements -where "hostName matches PMILITAR_AYN5011118*"
    nhListElements -where "device matches PMILITAR_AYN5011118*"


  • 5.  RE: COMMAND LINE DISABLE POLLING NOT COMPLETE

    Posted Aug 17, 2020 09:16 AM
    Bom Dia Radice,

    da forma orientada consigo listar somente os elementos de um Device. O problema é que tenho uma lista de 600 Devices diferentes.

    Alguma sugestão ?

    Cássio - GPD

    ------------------------------
    Analista
    Cia de Tecnologia da Informação de Minas Gerais - PRODEMGE
    ------------------------------



  • 6.  RE: COMMAND LINE DISABLE POLLING NOT COMPLETE

    Broadcom Employee
    Posted Aug 17, 2020 10:03 AM
    Verifique este artigo nhListElements command:
    https://knowledge.broadcom.com/external/article?articleId=23523