This week we migrate Nagios configuration files into NagiosQL database. The problem with old nagios configuration files because it used different format of naming files. NagiosQL need specific naming to the configuration files.
More information about NagiosQL
http://www.nagiosql.org/
Tips :-
It's much more easier to combine all cfg files that related to hosts into one file. Im using cat command
cd /etc/nagios/hosts (depend on the setup)
cat *.cfg >> /etc/nagios/all-hosts.cfg
From NagiosQL webadmin -> Tools -> Data Import, select only the above files. If the old configuration files used template remember to select the right template.
More information about NagiosQL
http://www.nagiosql.org/
Tips :-
It's much more easier to combine all cfg files that related to hosts into one file. Im using cat command
cd /etc/nagios/hosts (depend on the setup)
cat *.cfg >> /etc/nagios/all-hosts.cfg
From NagiosQL webadmin -> Tools -> Data Import, select only the above files. If the old configuration files used template remember to select the right template.
No comments:
Post a Comment