Search found 6 matches

by mlawrence
Thu Nov 15, 2012 4:57 pm
Forum: Nagios XI
Topic: To automatically add new hosts
Replies: 4
Views: 438

Re: To automatically add new hosts

Yep just tested and it works well, I had always thought you had to define hostgroup members in the hostgroup object and didn't realize you could do it in the host objects as well. Only snag was making the directive "hostgroups" instead of "hostgroup" in the .cfg. But it's being a...
by mlawrence
Thu Nov 15, 2012 4:16 pm
Forum: Nagios XI
Topic: To automatically add new hosts
Replies: 4
Views: 438

Re: To automatically add new hosts

I had thought of doing it like that, but if I do will the delete_host command work or will it complain that the host is part of a hostgroup - ie would that cause some dependency problem for automatic removal? Going to test it out when I get a chance but if the removal part works then I think this is...
by mlawrence
Thu Nov 15, 2012 2:48 pm
Forum: Nagios XI
Topic: mysql_error in /var/log/messages
Replies: 5
Views: 280

Re: mysql_error in /var/log/messages

OK, I was told the command used was "poweroff" so we can try shutdown in the future. I am still curious though about the correct way to safely stop/start all of the Nagios and XI services in CentOS. Let's say I didn't need to power off or reboot, but to perform OS or security patching and ...
by mlawrence
Thu Nov 15, 2012 2:43 pm
Forum: Nagios XI
Topic: To automatically add new hosts
Replies: 4
Views: 438

To automatically add new hosts

Hello - my company is planning on using AWS auto-scaling. We use Chef recipes to help configure new instances and I am looking at how to best craft a recipe to automatically add new instances to Nagios XI. So far I have found this document: http://assets.nagios.com/downloads/nagiosxi/docs/Automated_...
by mlawrence
Wed Nov 14, 2012 2:26 pm
Forum: Nagios XI
Topic: mysql_error in /var/log/messages
Replies: 5
Views: 280

Re: mysql_error in /var/log/messages

Thanks for the response, I've applied the fix to one of our XI instances and now it's nice and quiet again. Aside from the "shutdown -h now" advice - is there any best practice for turning off the Nagios services? Ie, should I do something like: service nagios stop service ndo2db stop serv...
by mlawrence
Tue Nov 13, 2012 7:09 pm
Forum: Nagios XI
Topic: mysql_error in /var/log/messages
Replies: 5
Views: 280

mysql_error in /var/log/messages

Hello - we recently set up two Nagios XI installs and have begun adding many services/hosts to each, mostly smooth going. On both installs, I am noticing errors like the ones below: Nov 13 16:01:50 scnagiosxi ndo2db: mysql_error: 'Table './nagios/nagios_timedeventqueue' is marked as crashed and shou...