IT News & Technology update

Provide comprehensive update related to Computer, technology, software, anti virus and another electric device

Monitor remote systems with Nagios

Written by IT News on 12:58 AM

Nagios isknow as an Open Source host, service and network monitoring program.

Here I try to introduces you to the potential of Nagios for monitoring your remote systems. Get to know this flexible and powerful tool.

Nagios is a fantastic program that allows you to monitor remote systems for availability. Nagios, available from http://www.nagios.org/, is often provided by Linux vendors, so it should be an apt-get or urpmi away.

Nagios makes extensive use of configuration files, typically located in /etc/nagios. The main configuration is /etc/nagios/nagios.cfg and, amongst other configuration options, points to other configuration files using cfg_file directives:

cfg_file=/etc/nagios/contacts.cfg
cfg_file=/etc/hosts.cfg
cfg_file=/etc/services.cfg

The files above further configure and refine how Nagios works. For instance, the contacts.cfg might contain:

define contact{
contact_name admin
alias admin
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c,r
host_notification_options d,r
service_notification_commands notify-by-email
host_notification_commands host-notify-by-email
email admin@mysite.com
}

This defines who will be receiving alerts, what kind of alerts, and when. Here you can see that the admin is available 24 hours a day, seven days a week, and receives service notifications for critical/recovery notifications for hosts, as well as down/recovery notifications for services.

The first definition is a template (register is set to 0). Other definitions can use this template to build upon, preventing useless duplication of information. The second definition is the actual host, providing what template to use (linux-server), with the host name and alias and IP address. You can define as many hosts as you like and as many templates as you like.

The services.cfg file contains service definitions that are used when monitoring hosts. For instance.

Read full article click here
Official website for Negios click here
Download link click here


Related Posts by Categories



Widget by Hoctro | Jack Book
  1. 0 comments: Responses to “ Monitor remote systems with Nagios ”

Search This Blog

Ads and Sponsored by:



Want to subscribe?

Subscribe in a reader.