×

Warning

JUser: :_load: Unable to load user with ID: 43

NAGIOS

 

It is not enough to simply install and configure the server. For its optimal and reliable performance, it is necessary to monitor its running and the running of other elements in the network and make necessary adjustments. For this reason, the Nagios system is integrated into the ISPadmin system. It automatically monitors individual network devices (routers, servers, UPS etc.). Thanks to this system, it is possible to react very quickly to potential problems in the network or to requests for configuration changes.

 

For normal use, it is not necessary to configure anything. Everything is preset and ready for use. If you are interested in finding out more about Nagios, you may use the official documentation on the project’s website. Bear in mind, though, we cannot guarantee that monitoring will work correctly once you have made changes to the configuration files.

 

The configuration of Nagios is automatically updated every time ISPadmin alters it (device monitoring, notification groups). These changes will take effect within 10 minutes. If you modify the configuration files manually, it is necessary to restart Nagios:

 

/usr/local/script/ispadmin/nagios_cfg.pl; /etc/init.d/nagios restart; /etc/init.d/apache2 restart

 

 

When adding routers and devices to the system, you can assign them to a so-called superior device for Nagios. If you set this item correctly, given routers or devices will be put into the right place on the topological map and in the Nagios configuration.

 

alert icon It is important to bear in mind, though, that Nagios cannot create a ring topology. Such a configuration causes looping. That is why you should avoid creating such network topologies. If you already use it, edit the settings of the wrongly configured devices so that they are no longer in such a configuration.

 

nagios3 /usr/local/nagios/etc/nagios.cfg

 

/etc/init.d/nagios restart

 

 

ISPadmin supports notifications for outages of servers, routers, and other connected devices (e.g. UPS) through the NAGIOS monitoring system.

The system uses these notification groups to distribute router failure, server failure, additional network device (UPS, IP camera etc.) failure notifications among individual network administrators.

Available notification groups:

  • Email - It is easy to set up and it is free of charge.
  • SMS - It is somewhat more difficult to set up and it is not free of charge, but if Internet is not working, it enables you to check devices through an independent (GSM) network (SMS gateway).
  • Push - Notifications are shown on your portable device using the Task Manager application.
  • Dashboard - Notifications are shown in the Dashboard.

 

How to set up notifications

1. Templates settings

2. Contacts/Groups settings

3. Router editing

 

 

  • Possible cause: Incorrectly configured dependencies between devices 
  • Solution: Modification of problematic dependencies

 

  1. Restart the Nagios system using the following command: /etc/init.d/nagios restart
  2. A list of potential problems will appear.
  3. Modify the dependencies between devices on its basis. 
  4. Make the system load the modified configuration using the following command: /usr/local/script/ispadmin/nagios_cfg.pl
  5. Restart the Nagios system one more time using the following command: /etc/init.d/nagios restart.

 

  1. To solve this problem, you have to remove the whole line containing the NAGIOS_SECRET field from the configuration file /data/support/ispadmin/config/config.php.
  2. Then, update the system with the help of the following command: admin_update stable.
  3. The automatic update of the Nagios hash used will be performed.
  4. If, despite this, the error message “The requested URL ... was not found on this server” appears, it will be necessary to update the Nagios hash manually.
  5. Make the system provide you with the current Nagios hash using the following command:
    more /etc/nagios3/apache2.conf |grep Alias
    e.g. ScriptAlias /cgi-bin/2825857159481299247580/usr/lib/cgi-bin/nagios3

  6. Enter the hash into the configuration file /data/support/ispadmin/config/config.php. Replace the old hash with the new one in the NAGIOS_SECRET item.

Mikrotik guide

This document approximates crucial information necessary for proper understan...

Removing records from ISPadmin

Delete client Deleted client is not deleted from the system, instead its rec...

Download burst

http://wiki.mikrotik.com/wiki/Manual:Queues_-_Burst (http://wiki.mikrotik....

Binary backups of MikroTik routers not working

The most common error messages regarding binary backups are: Mikrotik E...

Add / Edit Router

HardwareRoutersAll, + Add new router or Edit in the details box of a particul...

Limited data consumed / Traffic graphs are high

If you experience one/both of the following problems Limited data gets consum...

Router connection test

Hardware Routers All Click on Update all routers (test connection to all router...

Router monitoring

If router is monitored, the system does not copy any configurations, it barely p...

Service activation on MikroTik routers

An active communication between router and ISPadmin is a prerequisite for its...

Installation Modems

There are two different ways of adding cable TV clients to the system: A new ...

User rights to access MikroTik router

Also, to ensure correct communication between a router and ISPadmin you have ...

Can the system monitor latency and packet loss rate for each device?

Yes, all devices (including client devices, if you want) are monitored and gr...

How to set up a UBNT router

1. Define the IP address range for clients on the router where shaping is don...

Under what conditions does the WiFi Clients at AP section appear in the overview of routers?

Set up a particular device as an access point and specify where shaping is ...

Supported routers and interfaces

Router SNMP SSH API IPv6 Wlan MAC filter Firewall MAC filter Firewa...

Retrieving routing table from MikroTik routers

If there are more than 1,000 rows in the routing table on a Mikrotik router, ...

Creating ACCESS LIST

In a situation where the router Mikrotik is only an AP without any routed networ...

How to mass delete clients' MAC addresses

You can see the following icon - MAC FILTER - in the header of a router with the...

«
»

CONTACT

NET service solution, s.r.o.
Žerotínova 3056/81a
787 01 Šumperk
Czech Republic