-
Notifications
You must be signed in to change notification settings - Fork 5
Setup Nagast Node
This howto will describe how to setup a Nagast node.
The Nagast node is typically a Nagiosbox, running in your network and executing checks. If something goes wrong, it will notify you via email/textmessages.
Build the Nagast packages and install
- nagast-node
- nagast-client
- all the dependencies
Nagast will install nagast.cfg in /etc/nagios3/conf.d/, which contains the commands you can use in your contact-settings. notify-service-by-nagast and notify-host-by-nagast. Change your Nagios-config so that contacts that need to be called upon issues actually get that call.
service_notification_commands notify-by-email,notify-service-by-nagast host_notification_commands notify-host-by-email,notify-host-by-nagast
nagast-node only has a single configfile, which you can find at /etc/default/nagast-node. You must set the values for NAGAST_SERVER and set NAGAST_ENABLED to 1. The nagast-server obviously contains the address of the host where Asterisk/nagast-server is running.
Now start nagast-node.
Ubuntu:
start nagast-node
Debian:
/etc/init.d/nagast-node start