Version 41 (modified by trac, 11 months ago) (diff)

--

TracNav

Modules

NSClient++ comes with a set of modules out of the box that perform various checks and functions. A list of the modules and their potential use is listed below. Click each plug-in to see detailed command descriptions and how the various modules can be used.

NSCAServer]

NSCA server (w/ encryption): A simple server that listens for incoming NSCA connection and handles them. Avalible crypto are: {0=No Encryption (not safe), 1=XOR, 2=DES, 3=DES-EDE3, 4=CAST-128, 6=XTEA, 8=Blowfish, 9=Twofish, 11=RC2, 14=AES, 15=AES, 16=AES, 20=Serpent, 23=GOST}

Queries (commands)

No commands avalible in NSCAServer

Commands (executable)

TODO: Add command list

CheckSystem]

CheckSystem: Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.

Queries (commands)

Commands (executable)

TODO: Add command list

CheckTaskSched]

CheckTaskSched: CheckTaskSched can check various file and disk related things. The current version has commands to check Size of hard drives and directories.

Queries (commands)

No commands avalible in CheckTaskSched

Commands (executable)

TODO: Add command list

CheckHelpers]

Helper function: Various helper function to extend other checks. This is also only supported through NRPE.

Queries (commands)

  • CheckAlwaysWARNING? Run another check and regardless of its return code return WARN.
  • CheckVersion? Just return the nagios version (along with OK status).
  • check_ok Just return OK (anything passed along will be used as a message).
  • CheckWARNING? Just return WARN (anything passed along will be used as a message).
  • CheckAlwaysOK? Run another check and regardless of its return code return OK.
  • CheckCRITICAL? Just return CRIT (anything passed along will be used as a message).
  • CheckOK? Just return OK (anything passed along will be used as a message).
  • CheckMultiple? Run more then one check and return the worst state.
  • CheckAlwaysCRITICAL? Run another check and regardless of its return code return CRIT.

Commands (executable)

TODO: Add command list

NSCPServer]

NSCP server: A simple server that listens for incoming NSCP connection and handles them.

Queries (commands)

No commands avalible in NSCPServer

Commands (executable)

TODO: Add command list

NSClientServer]

NSClient server: A simple server that listens for incoming NSClient (check_nt) connection and handles them. Although NRPE is the preferred method NSClient is fully supported and can be used for simplicity or for compatibility.

Queries (commands)

No commands avalible in NSClientServer

Commands (executable)

TODO: Add command list

NRPEServer]

NRPE server: A simple server that listens for incoming NRPE connection and handles them.

Queries (commands)

No commands avalible in NRPEServer

Commands (executable)

TODO: Add command list

Scheduler]

Scheduler: A scheduler which schedules checks at regular intervals

Queries (commands)

No commands avalible in Scheduler

Commands (executable)

TODO: Add command list

CheckTaskSched2]

CheckTaskSched2: CheckTaskSched2 can check various file and disk related things. The current version has commands to check Size of hard drives and directories.

Queries (commands)

  • CheckTaskSchedValue? Run a WMI query and check the resulting value (the values of each row determin the state).
  • CheckTaskSched? Run a WMI query and check the resulting rows (the number of hits determine state).

Commands (executable)

TODO: Add command list

CheckDisk]

CheckDisk: CheckDisk can check various file and disk related things. The current version has commands to check Size of hard drives and directories.

Queries (commands)

  • CheckFileSize Check or directory a file and verify its size.
  • CheckFiles Check various aspects of a file and/or folder.
  • CheckFile2? (deprecated) Check various aspects of a file and/or folder.
  • CheckDriveSize? Check the size (free-space) of a drive or volume.

Commands (executable)

TODO: Add command list

NRPEClient]

NRPE client (w/ SSL): A simple client for checking remote NRPE servers (think proxy).

Queries (commands)

Commands (executable)

TODO: Add command list

CauseCrashes]

Helper function: Various helper function to extend other checks. This is also only supported through NRPE.

Queries (commands)

Commands (executable)

TODO: Add command list

PythonScript]

PythonScript: PythonScript...

Queries (commands)

No commands avalible in PythonScript

Commands (executable)

TODO: Add command list

SMTPClient]

SMTPClient: Passive check support via SMTP

Queries (commands)

Commands (executable)

TODO: Add command list

SyslogClient]

SyslogClient: Passive check support via Syslog

Queries (commands)

Commands (executable)

TODO: Add command list

CheckWMI]

CheckWMI: CheckWMI can check various file and disk related things. The current version has commands to check Size of hard drives and directories.

Queries (commands)

  • CheckWMI Run a WMI query and check the resulting rows (the number of hits determine state).
  • CheckWMIValue Run a WMI query and check the resulting value (the values of each row determin the state).

Commands (executable)

TODO: Add command list

NSCAClient]

NSCAClient: Passive check support over NSCA. Avalible crypto are: {0=No Encryption (not safe), 1=XOR, 2=DES, 3=DES-EDE3, 4=CAST-128, 6=XTEA, 8=Blowfish, 9=Twofish, 11=RC2, 14=AES, 15=AES, 16=AES, 20=Serpent, 23=GOST}

Queries (commands)

Commands (executable)

TODO: Add command list

NSCPClient]

NSCP client (w/ SSL): A simple client for checking remote NSCP servers (think proxy).

Queries (commands)

Commands (executable)

TODO: Add command list

CheckExternalScripts]

Check External Scripts: A simple wrapper to run external scripts and batch files.

Queries (commands)

Commands (executable)

TODO: Add command list

LUAScript]

LUAScript: LUAScript...

Queries (commands)

No commands avalible in LUAScript

Commands (executable)

TODO: Add command list

NRDPClient]

NRDPClient: Passive check support over NRDP

Queries (commands)

Commands (executable)

TODO: Add command list

CheckNSCP]

Check NSCP: Checkes the state of the agent

Queries (commands)

  • check_nscp Check the internal healt of NSClient++.

Commands (executable)

TODO: Add command list

CheckEventLog]

Event log Checker.: Check for errors and warnings in the event log. This is only supported through NRPE so if you plan to use only NSClient this wont help you at all.

Queries (commands)

Commands (executable)

TODO: Add command list

GraphiteClient]

NSCAClient (without encryption support): Graphite client

Queries (commands)

Commands (executable)

TODO: Add command list

All Commands

A list of all commands (alphabetically). ListTagged(check)?