×

Warning

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

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

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.

System back-ups

ISPadmin has an automatic data back-up functionality. It is possible to store...

MySQL database

Restart of MySQL service /etc/init.d/mysqld restart Recovery of database...

ISPadmin update

Switch to new system version using the following command from command line (logi...

Postfix mail server

By default, the SMTP server is configured in the way that it is only possible...

System Variables

System variables are used for replacing items such as client's name, address,...

System migration

The information contained in this manual pertains to the migration of ISPadmin ...

Emails cannot be sent because of their size

Check and modify the settings of the following parameters: upload_max_f...

Ramdisk and RRD backup-data restoration

More on RAM disk here (index.php?option=com_content view=article id=508:4-11-bet...

HTTPS Certificates

These are instructions on how to create and set up trustworthy certificates (h...

Crashed table repair

these instructions (index.php?option=com_content view=article id=1284:system-bac...

Moving graphs to RAMDISK

The main usage load for disks, on which the system is installed on, is the gener...

Forgotten root password

You can try two ways: First procedure 1. Insert installation DVD of ISPa...

Text editors

Nano text editor is always used in this documentation. If you don’t...

Linux update

For reasons of compatibility and availability of future versions of ISPadmin,...

ISPadmin serving as SMTP server

By default, the SMTP server is configured in the way that it is only possible to...

Cache-only DNS server

Caching-only is ready after installation of ISPadmin. It is sufficient to use IP...

Technical support status cannot be verified

If technical support cannot be verified, most likely it is due to DNS malfunc...

Administration of running processes

We recommend using htop program for easier monitoring of running process inst...

Timezone settings

"Europe/Prague” timezone is set by default. To change it, do the following:...

IPv6

ISPadmin does not currently support IPv6, it only supports IPv4. It is, of cours...

Configuration / update of IP Address

A) Temporary setting of IP address (until next Linux restart).Just add the fo...

High CPU load of ISPadmin server

Run htop command from the Linux console to determine the problems. With this ...

ISPadmin operation behind NAT

If you have your ISPadmin located on private network and wish to access it from ...

Manual update

If the Error 404: Not Found message appears during an update, it will be necessa...

Inner/outer address on ISPadmin server

The system is typically connected to the network by one network card only. Both ...

Running service check

If you need to find out if a certain process is running use the following comman...

Error "Allowed memory size of ... bytes exhausted ..."

Fatal error: Allowed memory size of ... bytes exhausted (tried to allocate ... b...

What is the directory structure in /usr/local/script/ispadmin/rrd_data?

headend ipaccount modem routers snmp switches user_devices wifi

«
»

CONTACT

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