Downtime schedule command fails for one user
-
matt.uebel
- Posts: 84
- Joined: Thu Jun 20, 2013 7:43 am
Downtime schedule command fails for one user
I have a user that attempted to schedule downtime for a host multiple times, the command was submitted through XI successfully, everything looks normal, but no downtime ever ended up being scheduled.
I attempted to schedule myself, and it worked immediately.
This user has been able to schedule downtime for other hosts without issue.
What could be causing this? How could I troubleshoot?
I attempted to schedule myself, and it worked immediately.
This user has been able to schedule downtime for other hosts without issue.
What could be causing this? How could I troubleshoot?
Re: Downtime schedule command fails for one user
What version of XI are using?
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.
-
matt.uebel
- Posts: 84
- Joined: Thu Jun 20, 2013 7:43 am
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Downtime schedule command fails for one user
Did they get an error mentioning they did not have access to that host?
-
matt.uebel
- Posts: 84
- Joined: Thu Jun 20, 2013 7:43 am
Re: Downtime schedule command fails for one user
nope. I watched him attempt to schedule as he would for any host. The result was typical with a notification that the scheduling command was well received and Nagios would get to it sooner or later.
Re: Downtime schedule command fails for one user
When you go to Home->Scheduled Downtime, do you see an entry for this host?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
matt.uebel
- Posts: 84
- Joined: Thu Jun 20, 2013 7:43 am
Re: Downtime schedule command fails for one user
The user in question attempted to create the downtime entry twice, after which we checked "Scheduled Downtime" and found nothing. Once I went through the same procedure the entry did then show up in Scheduled Downtime.
He is a User with capabilities to see all hosts and services, control all hosts and services, and access advanced features. He has been able to schedule downtime in the past.
He is a User with capabilities to see all hosts and services, control all hosts and services, and access advanced features. He has been able to schedule downtime in the past.
Re: Downtime schedule command fails for one user
Start a running tail on the nagios log:
Then try to schedule a host downtime (logged in as this user) and watch the tail. See if anything will show up in the log.
Code: Select all
tail -f /usr/local/nagios/var/nagios.logBe sure to check out our Knowledgebase for helpful articles and solutions!
-
matt.uebel
- Posts: 84
- Joined: Thu Jun 20, 2013 7:43 am
Re: Downtime schedule command fails for one user
nagios.log is extremely active. Do you know of any specific keywords I could look for to indicate downtime scheduling? I had grepped through the log looking for any mention of the host in question, and didn't find any log entries concerning downtime scheduling. Just status changes and notifications.
Re: Downtime schedule command fails for one user
Try grepping the log file, using the username. For example, I was logged in my test box as user "ludmil". I scheduled a downtime for host "Mac.60". Then I grepped nagios.log for "ludmil". See the output below:
Code: Select all
[root@testbox libexec]# grep "ludmil" /usr/local/nagios/var/nagios.log
[1385136062] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;Mac.60;1385221500;1385225100;1;0;3600;ludmil;AUTO: testBe sure to check out our Knowledgebase for helpful articles and solutions!