No announcement yet.

how to write the names of the counters

  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:
    :~# /usr/lib/nagios/plugins/check_nt -H ххххх -v COUNTER -p 12489 -s ххххх -l "\LogicalDisk(C:)\% Idle Time"
    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
    use generic-service
    check_command check_centreon_nt_counter!"\Server\Logon Total"
    stalking_options o

  • #2
    In Centreon, had simple quote arround your macro definition in command line and for the service definition encapsulate value by double quote.
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x