Search found 28 matches

by xtremax
Tue Nov 05, 2013 1:42 am
Forum: Nagios XI
Topic: How to configure Bandwidth Report?
Replies: 1
Views: 192

How to configure Bandwidth Report?

Hi Support,

We know that in Reports section there is a Bandwidth usage page. May I know how to configure it?

Thanks,

Rudy
by xtremax
Mon Nov 04, 2013 11:17 pm
Forum: Nagios XI
Topic: Schedule downtime in the past date
Replies: 3
Views: 300

Schedule downtime in the past date

Hi Support,

I would like to know whether it's possible to schedule downtime on a past date. The reason is because sometime we forgot to schedule a downtime, so that we can fix the availability report.

Thanks,

Rudy
by xtremax
Mon Oct 28, 2013 10:19 pm
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi,

I have changed the line as you suggested, and also add the following:

Code: Select all

nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/
apache ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/
And now my service test and check works.

Thanks for all your suggestion.
by xtremax
Mon Oct 28, 2013 10:10 am
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi abrist,

May I know how to disable it? Do I just need to remove it ? Or add some # to comment it out?

Thanks,

Rudy
by xtremax
Sat Oct 26, 2013 9:16 pm
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi,

It's indeed working from the CLI, the first perl script is used to display the error message from nagios, without it I will not get any error message.

Refer to my attached screenshot.

Thanks,

Rudy
by xtremax
Thu Oct 24, 2013 9:22 pm
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi,

I am using visudo -f /etc/sudoers. I think it's the same thing right?

Thanks,

Rudy
by xtremax
Thu Oct 24, 2013 10:43 am
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi,

Yes, please refer to the sudoers file that i attached in my previous post and also to my attached screenshot.

Rudy
by xtremax
Thu Oct 24, 2013 9:49 am
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi abrist,

Thanks for your reply. However I am not able to find any configuration file in the folder /etc/sudoers.d.

Refer to my attached screenshot.

Please advise,

Rudy
by xtremax
Wed Oct 23, 2013 9:37 pm
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi,

I have attached also the sudoers file for you to check.

Thanks,

Rudy
by xtremax
Wed Oct 23, 2013 9:35 pm
Forum: Nagios XI
Topic: How to configure Nagios to run plugin with sudo
Replies: 15
Views: 1915

Re: How to configure Nagios to run plugin with sudo

Hi abrist,

It's running on the local XI server. I have tried both of your suggestion, however I am getting the following error:
sudo: no tty present and no askpass program specified
Please advise.

Thanks,

Rudy