CauseCrashesCauseCrashes — 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)
A quick reference for all available queries (check commands) in the CauseCrashes module.
crash_client¶CauseCrashescrash_clientUsage:
| 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). |
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.
help (CauseCrashes, crash_client)¶help-pb (CauseCrashes, crash_client)¶show-default (CauseCrashes, crash_client)¶help-short (CauseCrashes, crash_client)¶