I'm trying to setup NagiosQL 3.0.1 to manage my rather large Nagios setup.
In nagios, I have a services.cfg file with 1495 entries, all along the same lines as:
| Code: |
define service {
service_description SSB-switch-ping
use Network-service
host_name swssbkcg
max_check_attempts 5
normal_check_interval 5
check_command check_ping!3000,20%!5000.0,60%
}
|
When I do the import, I get 1495 lines saying:
Entry config_name::services inside tbl_service successfully inserted
However, only 111 services appear under Supervision. Not surprisingly when I try to run the config file check, this fails as most the services are missing.
The log suggests everything went ok:
File imported - File [overwrite flag]: /usr/local/nagios/etc/services.cfg [1]
I did try splitting my services.cfg file in to 15 seperate files with 100 entries in. This allowed my to import 566 entries, though on writing the files out again it stuck on 111 entries.
Any idea what is going on, or is there an option to import in a verbose mode?
Also, is there a general user guide for NagiosQL?