Skip to content

Setup Nagast Node

tuxis-ie edited this page Sep 18, 2012 · 2 revisions

This howto will describe how to setup a Nagast node.

Table of Contents

What is 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.

What do we install

Build the Nagast packages and install

  • nagast-node
  • nagast-client
  • all the dependencies
Nagast-node depends on Nagios, because it will try to ack issues in Nagios.

What do we edit

Nagios

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

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 what

Now start nagast-node.

Ubuntu:

 start nagast-node

Debian:

 /etc/init.d/nagast-node start