wizard errors
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: wizard errors
oops, here you go
You do not have the required permissions to view the files attached to this post.
Re: wizard errors
ok wizard installed successfully, tried running it, getting the same error
.
Error: Template '' specified in host definition could not be not found (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting on line 96)
Error: Template 'xiwizard_smtp_service' specified in service definition could not be not found
.
Error: Template '' specified in host definition could not be not found (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting on line 96)
Error: Template 'xiwizard_smtp_service' specified in service definition could not be not found
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: wizard errors
actually, this is a different error, this one is erroring on missing the xiwizard_smtp_service template.
Someone deleted a ton of the templates from your machine, and the ramifications could be great. If you have a backup from before this happened, I would actually suggest restoring that.
That said, you can unzip the attached file and place it in /usr/local/nagios/etc/import and try to apply configuration again
Someone deleted a ton of the templates from your machine, and the ramifications could be great. If you have a backup from before this happened, I would actually suggest restoring that.
That said, you can unzip the attached file and place it in /usr/local/nagios/etc/import and try to apply configuration again
You do not have the required permissions to view the files attached to this post.
Re: wizard errors
ok I just rerun the wizard, im getting this:
Error: Template 'xiwizard_mailserver_host' specified in host definition could not be not found
unfortunately I do not have any backups of the previous configs
Error: Template 'xiwizard_mailserver_host' specified in host definition could not be not found
unfortunately I do not have any backups of the previous configs
Re: wizard errors
This is strange. Check to make sure crond is running:
Lets also check to make sure the configs from the mail server wizard were imported successfully:
Code: Select all
service crond statusCode: Select all
ls -la /usr/local/nagios/etc/importFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: wizard errors
cron is indeed running, the folder is empty
ls -la /usr/local/nagios/etc/import
total 8
drwsrwsrwx 2 apache nagios 4096 Apr 23 15:20 .
drwsrwsr-x 7 apache nagios 4096 Apr 23 15:20 ..
looks like the file I put up there got picked up or erased by some process
ls -la /usr/local/nagios/etc/import
total 8
drwsrwsrwx 2 apache nagios 4096 Apr 23 15:20 .
drwsrwsr-x 7 apache nagios 4096 Apr 23 15:20 ..
looks like the file I put up there got picked up or erased by some process
Re: wizard errors
Go to the nagiosxi install directory (if you haven't removed it from /tmp) and run the install script:
Let us know if this fixes your issue.
Code: Select all
cd /tmp/nagiosxi/subcomponents/xiwizards
./installBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: wizard errors
it errored out with the following:
Traceback (most recent call last):
File "./install", line 17, in <module>
installpath = os.environ['INSTALL_PATH']
File "/usr/lib64/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'INSTALL_PATH'
ERROR: Subcomponent 'wkhtml' installation failed - exiting.
Traceback (most recent call last):
File "./install", line 17, in <module>
installpath = os.environ['INSTALL_PATH']
File "/usr/lib64/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'INSTALL_PATH'
ERROR: Subcomponent 'wkhtml' installation failed - exiting.
Re: wizard errors
Lets make sure it the mail server template was actually collected and added to your configs:
Have you "applied configuration" recently?
Code: Select all
grep xiwizard_mailserver_host /usr/local/nagios/etc/*Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: wizard errors
i did apply configutation after i tried the wizard again, it failed, do you want me to apply clean working config and try recompiling again?
grp did not return any results,
grp did not return any results,