Page 3 of 3
Re: Acknowledgements and Scheduled Downtime not showing up i
Posted: Mon Sep 25, 2017 10:19 am
by scottwilkerson
I can see from the PM you sent that your server can find localhost but this still doesn't explain the missing profile.txt in your generated profile.
Can you describe what happens when you try to schedule a downtime or acknowledge a problem? Do you get a message saying it has been done?
Also, can you post the output of this command
I am looking for the existence of all the crons that handle these types of tasks
Re: Acknowledgements and Scheduled Downtime not showing up i
Posted: Mon Sep 25, 2017 10:40 am
by shilton
When I set an acknowledgement the system returns as normal, but no new acknowledgement shows in the Acknowledgement screen.
When I set a scheduled downtime the system shows the generic error in the upper left corner:
" One or more scheduled commands could not be sent to Nagios Core."
[root@catdrnd-nagiosxi ~]# cat /etc/cron.d/nagiosxi
# /etc/cron.d/nagiosxi: crontab fragment for nagiosxi
# Backup MySQL & PostgreSQL Databases
0 7 * * * root /root/scripts/automysqlbackup
0 7 * * * root /root/scripts/autopostgresqlbackup > /dev/null 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1
*/5 * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/dbmaint.php >> /usr/local/nagiosxi/var/dbmaint.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1
01 * * * * nagios /usr/local/nagiosxi/cron/recurringdowntime.pl >> /usr/local/nagiosxi/var/recurringdowntime.log 2>&1
* * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1
Re: Acknowledgements and Scheduled Downtime not showing up i
Posted: Mon Sep 25, 2017 10:42 am
by shilton
Where should the profile.txt be located, I ran a find from /usr/local/nagiosxi for it with no results?
Re: Acknowledgements and Scheduled Downtime not showing up i
Posted: Mon Sep 25, 2017 11:08 am
by scottwilkerson
shilton wrote:Where should the profile.txt be located, I ran a find from /usr/local/nagiosxi for it with no results?
It is generated when you go to Admin -> System Profile -> Download Profile.
But if you click "View System Info" on that page it will give us the same information
Re: Acknowledgements and Scheduled Downtime not showing up i
Posted: Mon Sep 25, 2017 2:01 pm
by shilton
I have run the Admin -> System Profile -> Download Profile and PM'd you the profile.txt
Re: Acknowledgements and Scheduled Downtime not showing up i
Posted: Mon Sep 25, 2017 2:44 pm
by scottwilkerson
I received the file and all seems as expected, I think we are going to need to escapate this to an email ticket anp potentially have a tech take a look to see what you are seeing to fix this.
Can you open a new ticket by emailing
[email protected] and reference this thread?
Thanks!