Search found 7 matches
- Thu Sep 12, 2013 3:32 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
Re: CLI import configs mystery
Success...so far. I removed the parent templae from the config and provided required params. Then I was getting an error! Hard to debug when it fails silently. The error was no hostgroup linux-server (seperate from group linux-servers) which apparently was added, but in the dashboard marked as inact...
- Wed Sep 11, 2013 7:18 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
Re: CLI import configs mystery
I saw that in the EC2 log, but when I went back the logs had been written over. I installed a new instance. Same issue. -- copied 1 file into import dir. file installed -- copied 5 files into import dir. No change. -- did a recursive grep on host that installed and found it here: /usr/local/nagios/e...
- Wed Sep 11, 2013 3:54 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
Re: CLI import configs mystery
92 files, only host config files. Example:
-rw-rw-r-- 1 apache nagios 1565 Sep 11 14:04 app01-dev1_int_pdx_obscured_com.cfg
Thats 92 in cfgprep. The 1st temp folder is a sub folder of cfgprep.
Keep in mind this is Nagios XI's prebaked AMI for Amazon. Not a source install.
-rw-rw-r-- 1 apache nagios 1565 Sep 11 14:04 app01-dev1_int_pdx_obscured_com.cfg
Thats 92 in cfgprep. The 1st temp folder is a sub folder of cfgprep.
Keep in mind this is Nagios XI's prebaked AMI for Amazon. Not a source install.
- Wed Sep 11, 2013 2:45 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
Re: CLI import configs mystery
I spun up a new server and checked the boot logs. There was a reference to some script trying to download http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz which failed. The import.php file thats missing appears to be in this package. So who knows what else potentially is going to fail. I...
- Wed Sep 11, 2013 2:35 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
Re: CLI import configs mystery
I have both those docs and have followed their instructions. I copied each file into the import directory, not the entire directory. 1) raw cfg file I generated (very minimal) 2) process those files one at a time and save their output into a separate directory using XI's prep tool 3) copy each of th...
- Wed Sep 11, 2013 1:09 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
Re: CLI import configs mystery
Ewww... looky what I found [error] [client 127.0.0.1] script '/usr/local/nagiosxi/html/admin/import.php' not found or unable to stat [root@mon01a-pre httpd]# ls -la /usr/local/nagiosxi/html/admin/import.php ls: cannot access /usr/local/nagiosxi/html/admin/import.php: No such file or directory [root@...
- Wed Sep 11, 2013 12:29 pm
- Forum: Nagios XI
- Topic: CLI import configs mystery
- Replies: 11
- Views: 2583
CLI import configs mystery
Running automated config import via CLI. Seems to run without error but no hosts in dashboard. This is a fresh install. Deployed Nagios XI AMI (EC2) in Amazon: nagiosxi appliance 1.2 CentOS release 6.3 Nagios XI 2012R2.3 I am parsing host data from EC2 API to create host config files. I have 2 temp ...