CauseCrashes
*DO NOT USE* This module is usefull except for debugging purpouses and outright dangerous as it allows someone remotley to crash your client!

CauseCrashes — CauseCrashes

DO NOT USE This module is usefull except for debugging purpouses and outright dangerous as it allows someone remotley to crash your client!

Queries (Overview):

A list of all available queries (check commands)

Command Description
crash_client Raise a fatal exception (zero pointer reference) and cause NSClient++ crash.

Aliases (Overview):

A list of all short hand aliases for queries (check commands)

Command Description
crashclient Alias for: crash_client

Commands (Overview):

TODO: Add a list of all external commands (this is not check commands)

Queries

A quick reference for all available queries (check commands) in the CauseCrashes module.

crash_client

CauseCrashescrash_client
Raise a fatal exception (zero pointer reference) and cause NSClient++ crash.

Usage:

Option Default Value Description
help N/A Show help screen (this screen)
help-pb N/A Show help screen as a protocol buffer payload
show-default N/A Show default values for a given command
help-short N/A Show help screen (short format).

Samples

Configuration to setup the module:

[/modules]
NRPEServer = enabled
CauseCrashes = enabled

[/settings/NRPE/server]
allowed hosts = 127.0.0.1

Then execute the following command on Nagios:

nscp nrpe --host 127.0.0.1 --command crashclient

Then execute the following command on the NSClient++ machine:

nscp test
...
crashclient

This will cause NSClient++ to crash so please dont do this.

Arguments

help (CauseCrashes, crash_client)
Show help screen (this screen)
help-pb (CauseCrashes, crash_client)
Show help screen as a protocol buffer payload
show-default (CauseCrashes, crash_client)
Show default values for a given command
help-short (CauseCrashes, crash_client)
Show help screen (short format).
comments powered by Disqus