Tomcat6 You need root priviledges to run this script

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
bkelly
Posts: 10
Joined: Thu Mar 21, 2013 9:27 am

Re: Tomcat6 You need root priviledges to run this script

Post by bkelly »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Tomcat6 You need root priviledges to run this script

Post by lmiltchev »

Have you installed the linux agent on this box, using our linux agent installer or you copiled NRPE yourself, then installed nagios plugins?
Be sure to check out our Knowledgebase for helpful articles and solutions!
PCrossan
Posts: 6
Joined: Fri Jan 25, 2013 4:10 am

Re: Tomcat6 You need root priviledges to run this script

Post by PCrossan »

Hi,

I have installed the Agent on the endpoint by using the instructions provided when you run through the config wizard in XI

thanks

Paul
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Tomcat6 You need root priviledges to run this script

Post by abrist »

Can you run the check from the cli on the remote host as user "root" and as user "nagios"?

Code: Select all

cd /path/to/plugins/directory
./check_init_service tomcat6
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.
Locked