Announcement

Collapse
No announcement yet.

how to write the names of the counters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AkHeNaToN
    replied
    In Centreon, had simple quote arround your macro definition in command line and for the service definition encapsulate value by double quote.

    Leave a comment:


  • Orsa
    started a topic how to write the names of the counters

    how to write the names of the counters

    good day Colleagues,

    i have centreon system 2.6.1
    I want to see some performance counters windows server.
    to collect data I assume using NSClient++ on the windows server side and the check_nt plugin on the centreon
    collected titles that interest me counters and verified that getting the value from the command line.

    for example:
    Code:
    :~# /usr/lib/nagios/plugins/check_nt -H ххххх -v COUNTER -p 12489 -s ххххх -l "\LogicalDisk(C:)\% Idle Time"
    99
    but i not undestend how right counter name on Args.
    i probably dobles of quotes, use double slashes doesn't help.

    my final configuration file contains entries of the form
    define service{
    host_name 1C
    service_description test
    _SERVICE_ID 86
    ;_CRITICALITY_NAME
    _CRITICALITY_LEVEL
    _CRITICALITY_ID
    use generic-service
    check_command check_centreon_nt_counter!"\Server\Logon Total"
    stalking_options o
    }
Working...
X