Hi Khalid

First of all, thanks for this useful module :)

When I try to get the status of my drupal installation by trying on the nagios client:
/usr/lib/nagios/plugins/check_drupal -H www.myhost.com -U mykey
it gives me: DRUPAL UNKNOWN, DRUPAL:UNKNOWN=Unauthorized,
But the key is correct, according to /admin/settings/nagios

The same on http: www.myhost.com/nagios regardless that I'm user 1.

Comments

guldi’s picture

oh, yeah, by the way, I use nagios 3.1.0

kbahey’s picture

Status: Active » Postponed (maintainer needs more info)

I am using Nagios 2.11, but this issue should not matter.

This issue is from a key that is different. No other place in the logic of the module/script to cause it.

Make sure your keys match on both sides.

guldi’s picture

you were right, it was the key.

Iit was a space on the end of the key on /admin/settings/nagios....

thx!

guldi’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.