public class NagiosNotifier extends Object implements Notifier
Notifier that is intended for Nagios alerts.
NOTE: This notifier will hard exit the application in order to provide
proper exit statuses as required by NRPE.| Constructor and Description |
|---|
NagiosNotifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendError(String message)
logs message with status code 2 - critical
|
void |
sendFailure(String message)
logs message with status code 1 - warn
|
void |
sendSuccess()
Have a nice day
|
public void sendFailure(String message)
sendFailure in interface Notifierpublic void sendSuccess()
NotifiersendSuccess in interface NotifierCopyright © 2016. All rights reserved.