Search found 10 matches

by bkelly
Mon Mar 25, 2013 12:11 pm
Forum: Nagios XI
Topic: Monitor stunnel or binary?
Replies: 3
Views: 1355

Re: Monitor stunnel or binary?

Testing check from command line...


COMMAND: /usr/local/nagios/libexec/check_nrpe -H address -t 30 -c check_services -a \\'stunnel4\\'
OUTPUT: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
by bkelly
Fri Mar 22, 2013 12:08 pm
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Indeed it has - The plugin is located in the below and that has been added to the sudoers file

-rwxrwxr-x 1 nagios nagios 1147 Oct 9 19:12 /usr/local/nrdp/plugins/AIX/check_init_service

nagios ALL = NOPASSWD:/usr/local/nrdp/plugins/AIX/check_init_service
by bkelly
Fri Mar 22, 2013 11:35 am
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Sorry the agent is on the remote machine and the information I provided is on nagios XI

Thanks
by bkelly
Fri Mar 22, 2013 10:35 am
Forum: Nagios XI
Topic: Monitor stunnel or binary?
Replies: 3
Views: 1355

Monitor stunnel or binary?

Hi

I'm trying to set up monitoring for stunnel which runs as a binary as the below shows

root 1037 1 0 Mar06 ? 00:00:40 /usr/bin/stunnel4 /etc/stunnel/user.conf

when trying to monitor this as a process or service it doesn't work - any ideas?
by bkelly
Fri Mar 22, 2013 9:17 am
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Sure

-rwxrwxr-x 1 nagios nagios 1147 Oct 9 19:12 /usr/local/nrdp/plugins/AIX/check_init_service

nagios ALL = NOPASSWD:/usr/local/nrdp/plugins/AIX/check_init_service
by bkelly
Fri Mar 22, 2013 6:54 am
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Hi all

We have got it to work by changing it to check for a process - so its looking for tomcat6

Still have get the initial method working but at least we have a work around
by bkelly
Fri Mar 22, 2013 2:32 am
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Hi

I mentioned this is a previous reply that line is already part of the sudoers file

Thanks
by bkelly
Thu Mar 21, 2013 11:44 am
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Hi

Thanks for the reply - I will need to check all this as this is the appliance downloaded straight from nagios website so we thought it was all set to go?

As far as I can see its disabled

SELinux status: disabled
by bkelly
Thu Mar 21, 2013 11:20 am
Forum: Nagios XI
Topic: Tomcat6 You need root priviledges to run this script
Replies: 23
Views: 5164

Re: Tomcat6 You need root priviledges to run this script

Hi

I've done a change to the permissions to the sudoers files to add the rights as suggested

/etc/sudoers

nagios ALL = NOPASSWD:/usr/local/nrdp/plugins/AIX/check_init_service
nagios ALL = NOPASSWD:/usr/local/nagios/libexec/check_nrpe

Nagios still shows the same error message as before :-(