DX Unified Infrastructure Management

 View Only
  • 1.  Nimqos information?

    Posted Jun 26, 2017 10:24 AM

    Trying to find docs and/or info on the nimqos utility in the /opt/nimsoft/bin directory of probe robot install.  Im wanting to use this and nimalarm in some shell scripts.  I could find info on nimalarm , but no info on nimqos.  A link or info (more then what comes from getting syntax at the command line...) would be greatly appreciated.

     

    thanks.



  • 2.  Re: Nimqos information?
    Best Answer

    Broadcom Employee
    Posted Jun 26, 2017 10:58 AM

    Hello Gary,

     

    see if this helps to answer your question:

     

    Nimqos is a standalone program that can be called from a shell, or bat script. It is used to send 1 qos value to the UIM database. Before you can use nomqos you must first define the qos by using nimqosdefinition. The meanings of the parameters are:

    usage: nimqos [required] [optional]
    where required are:
    -q <QoS>
    -s <source>
    -t <target>
    -v <value> ignored when you use -b or -e
    -i <inteval>
    where optional are:
    -n send NULL instead of value
    -b <tag> begin a new timer; ignore all other options
    -e <tag> end timer; used together with the other options
    -D <debug level>



    Example on how to use:


    QOS=xyzzy_status
    GROUP=QOS_SYSTEM
    HOST=name of robot you are running on
    INTERVAL=1
    DESCRIPTION="Your test string which can have spaces here"
    UNITS="Bogons"
    SHORT="b"
    VALUE=666
    MAXVALUE=999


    nimqosdefinition -q ${QOS} -g ${GROUP} -d "${DESCRIPTION}" -u ${UNITS} -s ${SHORT}
    nimqos -q QOS_${QOS} -s ${HOST} -t ${QOS} -i ${INTERVAL} -v ${VALUE} -m {MAXVALUE}

     

    Kind regards,

    Britta Hoffner

    CA Support



  • 3.  Re: Nimqos information?

    Posted Jun 26, 2017 11:18 AM

    thanks Britta  - just what i was looking for thanks....

     

     

    I did not know about the need for  nimqosdefinition

     

    so very helpful post.

     

     

    will try it out.

     

    G

     

     

     

    Best Regards,

     

    Gary Dohmeier II

    Consultant - Enterprise Architect

     

    Sirius Computer Solutions

     

    843-582-4234



  • 4.  Re: Nimqos information?

    Posted Jun 26, 2017 03:28 PM

    Just trying this out and its working great...  I do have a question thought...

     

    I seems that the nimqosdefinition would only need to be run once to setup the definition - then I could run nimbus from then on...  more of a configuration.  But I did run my test twice (including both defintiion and run command) and there was no errors.  Is it a best practice to use the definition each time...?

    gary



  • 5.  Re: Nimqos information?

    Broadcom Employee
    Posted Jul 05, 2017 05:50 AM

    Hello Gary, there is no need to run it every time, but it would not harm to do so. 

     

    Kind regards,

    Britta Hoffner