Error when trying to Monitor TomCat6

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
PCrossan
Posts: 6
Joined: Fri Jan 25, 2013 4:10 am

Error when trying to Monitor TomCat6

Post by PCrossan »

Hi All,

We now have Nagios setup in our environment :)

Unfortunately we have 1 issue at the moment, when monitoring TomCat6 we receive the following error "You need root privileges to run this script"

We do not want to give the Nagios account root permissions - Does anyone know why it requires root permissions for this check?

thanks for your help
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Error when trying to Monitor TomCat6

Post by slansing »

If it is an executable just make sure that the user account can execute it, in most cases a simple:

Code: Select all

chmod +x /usr/local/nagios/libexec/custompluginnamehere
Will do the trick, or wherever you have the plugin located. Also, welcome to the community!
Locked