Posts By: Dlightdaily

Fully Automated Nagios: Host and service config issue

Fully Automated Nagios,Host and service are not showing in monitoring view ?


Fully Automated Nagios- FAN Nagios-Dlightdaily

Fully Automated Nagios- FAN Nagios

You have to export your configuration,


go to

Configuration > Monitoring Engines > Generate
Select a poller
Check “Move Export Files” and “Restart Monitoring Engine”
Click on Export
I have observed that, ” after any config change, we need to export it to take effect”.
Feel Free to Query in Comment Box

Command To Update Fully Automated Nagios

Fully Automated Nagios Update Command

Fully Automated Nagios

Command To Update Fully Automated Nagios(FAN Nagios)
# yum Update

Wait !

untill it  download and install all updates.

It will show you centreon 5.11 (Before update , it’s Centreon 5.9)

Feel Free To Query in Comment Box.

Anchor Text Creation With Example

Anchor Text is the visible, clickable text in a hyperlink.
In modern browsers, it is generally  blue and underlined.


How can I Call Any .exe (or any program) Using Batch File Script

Hi All,
You have to open notepad

Write  command in it

start /d “Path of File” FileName.exe

Now save the file as .bat extension.

If you double click on the file , your batch script will run and your desired program

will open.
start /d  “d:Software” putty.exe
putty program will open. See below screenshot.
You can make it schedule program using Windows Task Scheduler.
D.light -Run-EXE-File-Using-Batch-Script



How To Backup and Restore Fully Automated Nagios(FAN Nagios) with Configuration and All.

FAN Server Backup
The fan-backup script is available if you want backup your FAN server.

Install the fan-backup rpm :

# yum install fan-backup

To backup a FAN standonale, run

# /opt/ -s

To get help, run :

# /opt/ –help
FAN Server  Restore
To restore a backup files, run :

# cd /var/backup/XXXXXXXX_XXXXXX/

# rsync -ravcz centreon /etc
# rsync -ravcz nagvis /etc
# rsync -ravcz logos /usr/share/nagios/images/
# rsync -ravcz plugins /usr/lib/nagios/ # i386 arch or
# rsync -ravcz plugins /usr/lib64/nagios/ # x86_64 arch
# rsync -ravcz pages /var/www/dokuwiki/data/

To restore database :

# cd /var/backup/XXXXXXXX_XXXXXX/databases

# zcat centreon2/centreon2.sql.gz | mysql centreon2
# zcat centreon2_storage/centreon2_storage.sql.gz | mysql centreon2_storage
# zcat nagios/nagios.sql.gz | mysql nagios