Page 1 of 1
How to see the another user my schedule report settings
Posted: Thu Jan 18, 2018 11:52 am
by Gonela
Hi Team,
We want to know how to see the another user "My schedule report" settings and what another user was configured and on what host/host group the user configured for auto email notification for state/availability report. For ex: A user Want to see the B user "my schedule report"
Re: How to see the another user my schedule report settings
Posted: Thu Jan 18, 2018 3:34 pm
by npolovenko
@Gonela, You'd need to sign in as that other user to be able to see what reports are scheduled. Or are you asking how to see which user is authorized to see certain hosts and services, and receive notifications for them?
Re: How to see the another user my schedule report settings
Posted: Fri Jan 19, 2018 11:24 pm
by Gonela
Hi team,
Thanks for the reply.
For Ex: The X user has enable schedule the report on "My schedule report" something as the host/hostgroup availbility need to generate and email to some
[email protected].
I want to see the X user what he schedule on which host/hostgroup at what time and from(00:00:00) To to(00:00:00).
And The x user account was disabled, so all the "my schedule report" has configured by X user.
I am the Y user i want to see the X user "my schedule report" . we have checked cron jobs but still we are not able to see on what host/hostgroup X has configured from what time to what time.
Re: How to see the another user my schedule report settings
Posted: Mon Jan 22, 2018 10:50 am
by npolovenko
Hi,
@Gonela. First, take a look inside this cron file:
You will see something like this:
Code: Select all
/usr/local/nagiosxi/html/includes/components/scheduledreporting/sendreport.php --report=S3gjNG --username="nagiosadmin" > /dev/null 2>&1
That means the report was scheduled by nagiosadmin in this case. Next, remember the report id number, which is S3gjNG in this case. Run this mysql query to get info about all scheduled reports:
Code: Select all
echo "select * from xi_usermeta where keyname = 'scheduled_reports';;" | mysql -uroot -pnagiosxi nagiosxi
Find the entry with the corresponding ID, and you can read more info about the report.
This might be the only way to do this though.