NSClient Windows

NSClient Windows Profile

This profile monitors a Windows server using NSClient. NSClient is used by the Nagios server to communicate with the Windows server.

Services Configuration
  • Service - Definitions in Monarch are stored under this name.
  • Command Line - Service command name with arguments to be passed to the plugin.
  • Plugin Command Line - Plugin script called by Nagios for this Service.
  • Extended Info - The Extended Service Info definition, typically used for generating graphs.
    Command lines displayed below are intended to be single line commands.
    Service Command Line Plugin Command Line Extended Info
    nsclient_cpuload check_nt_cpuload!10,50,80,60,50,
    80,1440,50,80
    $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v CPULOAD -l "$ARG1$" number_graph
    nsclient_disk_C check_nt_useddiskspace!c!80!90 $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ number_graph
    nsclient_disktransfers check_nt_counter_disktransfers!
    50!100
    $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "
    PhysicalDisk(_Total)
    Disk Transfers/sec","PhysicalDisk(_Total) Disk Transfers/sec is %.f " -w "$ARG1$" -c "$ARG2$"
    number_graph
    nsclient_memory_pages check_nt_counter_memory_pages!
    10!20
    $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v COUNTER -l "
    Memory
    Pages/sec","Pages per Sec is %.f" -w "$ARG1$" -c "$ARG2$"
    number_graph
    nsclient_memuse check_nt_memuse!80!90 $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v MEMUSE -w "$ARG1$" -c "$ARG2$" number_graph
    nsclient_uptime check_nt_uptime $USER1$/check_nt -H $HOSTADDRESS$ -p $USER19$ -s $USER4$ -v UPTIME
    tcp_nsclient check_nt $USER1$/check_nt -p $USER19$ -s $USER4$ -H $HOSTADDRESS$ -v CLIENTVERSION number_graph
Profile Package

This package includes the following files:

Profile Definitions

  • service-profile-nsclient-win.xml
  • perfconfig-nsclient-win.xml

Plugins Scripts

  • check_nt

NSClient (installed on the monitored Windows Server)

  • nsclient.zip

Performance Graphing Programs

  • number_graph.cgi
Installation

GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Profiles already imported on a new GroundWork installation include Service Ping, SNMP Network, and SSH UNIX. The GroundWork Monitor Configuration tool is used to import updated Profiles and Profiles that require additional setup; the Profile XML file and its companion Performance Configuration definition file. Services can also be imported in addition to Service Profiles in the Profile Importer. The import process is documented under GROUNDWORK PROFILES > How to import profiles.

Implementation

This section contains detail settings used by this Profile. These parameters can be altered with the Configuration tool.

Command Parameters

Command parameters are in the Configuration Services section with the following names and default values.

nsclient_cpuload

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the CPULOAD command.
  • $ARG1$ - Tuples of time interval, warning, and critical thresholds to report. 10,50,80 means 10 minute CPU usage average, 50% warning, 80% critical. Default is three tuples for 10, 60, and 1440 minute CPU usage averages.

nsclient_disk_C

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the USEDDISKSPACE command.
  • $ARG1$ - Drive letter, default is C:
  • $ARG2$ - Warning percentage, default is 80
  • $ARG3$ - Critical percentage, default is 90

nsclient_disktransfers

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • $ARG1$ - Warning value (per second), default is 50
  • $ARG2$ - Critical value (per second), default is 100

nsclient_memory_pages

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • $ARG1$ - Warning value (pages per second), default is 10
  • $ARG2$ - Critical value (pages per second), default is 20

nsclient_memuse

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the MEMUSE command.
  • $ARG1$ - Warning value (percentage), default is 80
  • $ARG2$ - Critical value (percentage), default is 90

nsclient_network_interface

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and execute the COUNTER command.
  • $ARG1$ - Warning value (bytes per second), default is 50
  • $ARG2$ - Critical value (bytes per second), default is 100

tcp_nsclient

  • Uses check_nt plugin to connect to NSClient on $HOSTADDRESS$ and retrieve the version number.
  • No arguments.
Performance Graphing Parameters

The following parameters are used to generate performance charts. These parameters are set using the Configuration>Performance tool in GroundWork Monitor.

nsclient_cpuload

  • Graphs percentage CPU utilization for a specified CPU.
  • Nagios service description must contain the string "nsclient_cpuload".

nsclient_disk_C

  • Graphs disk C percentage utilization.
  • Nagios service description must contain the string "nsclient_disk_".

nsclient_disktransfers

  • Graphs disk transfers per second for a specified disk.
  • Nagios service description must contain the string "nsclient_disktransfers".

nsclient_memuse

  • Graphs percentage memory utilization.
  • Nagios service description must contain the string "nsclient_memuse".
Implementation Notes

None.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.