How to see the another user my schedule report settings

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

How to see the another user my schedule report settings

Post 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"
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: How to see the another user my schedule report settings

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Gonela
Posts: 135
Joined: Wed Jan 10, 2018 5:23 am

Re: How to see the another user my schedule report settings

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: How to see the another user my schedule report settings

Post by npolovenko »

Hi, @Gonela. First, take a look inside this cron file:

Code: Select all

/var/spool/cron/apache
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked