

If you are keeping the same configuration, you will find difficulty to add new servers in it. usr/local/nagios/etc/objects/localhost.cfg usr/local/nagios/etc/objects/templates.cfg usr/local/nagios/etc/objects/contacts.cfg usr/local/nagios/etc/objects/commands.cfg 2.3 Nagios configuration file creation The following configuration files will be created after the

Also add the plugin NDOUtils to setup the nagios with database. If you want to setup the nagios data in database, use “–with-mysql” option along with “./configure”. You can verify the nagios localhost entry using the with the nagiosadmin login details. configure and give the proper ownership after the installation of plugins. configure with –with option above, do the configuration using.

configure -with-nagios-user=nagios -with-nagios-group=nagiosĪdd Nagios to the list of system services and have it automaticallyĬheck whether the nagios configurations using following command:
#Ntopng generated centreon install
2.2 Installation of Nagios pluginĭo the following steps to install nagios plugin. After the installation of nagios plugin as explained below, the relevant files will be created. htpasswd -c /usr/local/nagios/etc/ers nagiosadminĪfter the completion of the above steps, you can see that apache is running fine but there are no contents in the folder /usr/local/nagios/libexec/. The “nagiosadmin” login details to web interface can be setup using htpasswd. Run the following command to setup the web interface. Modify the email address in /usr/local/nagios/etc/objects/contacts.cfg. You need to customise the nagios configuration, according to your requirement. You can do the following steps to install and configure the nagios. I used nagios-3.0b5 for the setup of distributed nagios. Add both the nagios user and the apache user to the group. “nagcmd” group is required for external commands to be submitted through the web interface. If they are not present, you need to do the installation using the following step: yum install httpd gcc glibc glibc-common gd gd-develĬreate the nagios user account: /usr/sbin/useradd nagios Configuration and setup of NSCA module in the servers for the working of distributed nagiosĬheck whether http, gcc, glibc, glibc-common,gd and gd-devel are installed in the machine.Converting the default nagios configuration file to a friendlier format.You need to do the following to install and setup the distributed nagios: Install nagios in each machine as per the following instructions.If possible place distributed and central monitoring servers in different NOCs (It is to avoid nagios incorrect results due to network problems at NOC).
#Ntopng generated centreon free
