Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Nagios error reporting #28

Closed
didacog opened this issue May 5, 2016 · 1 comment
Closed

Add support for Nagios error reporting #28

didacog opened this issue May 5, 2016 · 1 comment
Assignees
Milestone

Comments

@didacog
Copy link
Member

didacog commented May 5, 2016

Will use send_nsca command to send Error message to a Nagios Server with properly configured NSCA.

@didacog didacog self-assigned this May 5, 2016
@didacog didacog added this to the DRLM v2.0.0 milestone May 5, 2016
didacog added a commit that referenced this issue May 9, 2016
didacog added a commit that referenced this issue May 9, 2016
@didacog
Copy link
Member Author

didacog commented May 10, 2016

Added support for Nagios reporting:

The Nagios server must be configured properly to receive NSCA alerts and the nsca-client must be installed on DRLM server

Configuration Options:

/usr/share/drlm/conf/default.conf:

REPORT_TYPE=nagios

NAGIOS VARIABLES

These are default values and can be overwritten in local.conf according to your NAGIOS installation and configuration.

NAGCMD="/usr/sbin/send_nsca"
NAGSVC="DRLM"
NAGHOST="$HOSTNAME"
NAGCONF"/etc/drlm/alerts/nagios.cfg"

/usr/share/drlm/conf/samples/nagios_sample.cfg:

DRLM (Disaster Recovery Linux Manager) Nagios error reporting sample configuration file.

Default: /etc/drlm/alerts/nagios.cfg

identity =

Send the specified client identity to the server.

By default, localhost will be used.

#identity = "drlm_server_hostname"

server =

Connect and talk to the specified server address or hostname.

The default server is “localhost”.

#server = "monitoring_server"

port =

Connect to the specified service name or port number on the

server instead of using the default port (5668).

#port = 5667

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant