5 Replies Latest reply: May 25, 2012 3:20 AM by n.greder RSS

pw threshold command help

n.greder

Hello,

 

i'm using this command to export/import threshold to BPPM servers. I would like to create a checkpoint based only on few monitors type, unfortunatly, i cannot create it because i'm not sure of what monitor type represent.

 

When i open my BPPM console, go to Option, Administration, Intelligent Event Thresholds, and i look the name of monitor type, if i try to create my checkpoint upon theses names, system says that is an unexpected argument...

 

Someone could explain me, what and where can i find my monitor type ?

 

Thx

  • 1. pw threshold command help
    Derek Dang

    You had used the proper way to determine the monitor type.  The error indicates that incorrect option delimiters were used, e.g., should use double quotation marks to surround monitor type names with embedded spaces.

     

    Please include the exact command that gave you the error.

     

    Regards,

    Derek

  • 2. pw threshold command help
    n.greder

    Hi Derek,

     

    thx for your help.

     

    Here is my command:

     

    pw threshold checkpoint create BPPM_threshold_export_abs -mt "Windows Operating System/System Performance" -abs -glob

     

     

    Here the output:

    Error: Unexpected argument: Windows Operating System/System

    Error: Performance

    Error: Unable to create check point 'BPPM_threshold_export_abs'

     

     


  • 3. Re: pw threshold command help
    Derek Dang

    It looks like you did not supply the description field right before the "-mt" option.  Here is the usage text for the command:

     

    # pw threshold checkpoint

    Usage:

    pw threshold checkpoint create <name> <desc> <options>

    pw threshold checkpoint load <name>

    pw threshold checkpoint list [<name>]

    pw threshold checkpoint delete <name>

    pw threshold checkpoint delete thresholds <options>

    pw threshold checkpoint export <name> [<filename>]

    pw threshold checkpoint import <filename>

     

    Where:

    <name>    Unique name for CheckPoint

    <desc>    Description of CheckPoint

    <options> Filter to further narrow down threshold list.

    <options> <threshold_filter> | <partition+>

    <threshold_filter>

               -all|-glob|-inst [-abs|-sig]

    <partition>

               -g <group_name> <threshold_filter>

               -d <device_name> <threshold_filter>

               -mt <mo_type> <threshold_filter>

     

     

    Regards,

    Derek

  • 4. Re: pw threshold command help
    Derek Dang

    Also, the screen from which to retrieve the name of the monitor type is not here:

     

    pic1.png

     

    Rather, go down to the next layer (click on the "edit" link under "Global Threshold") to get the name:

     

    pic2.png

     

    Regards,

    Derek

  • 5. Re: pw threshold command help
    n.greder

    Hi Derek,

     

    my light, my beacon...

     

    Ok it's working now, i'm so stupid, i am used to other editor where description are always optional...

     

    For your information, my command was still in error, the reason is the argument order, "-abs - glob" doesn't work, "-glob -abs" works.

     

    Thx anyway for your help