Closed (fixed)
Project:
Nagios Monitoring
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2009 at 11:04 UTC
Updated:
9 Mar 2009 at 10:10 UTC
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
Comment #1
guldi commentedoh, yeah, by the way, I use nagios 3.1.0
Comment #2
kbahey commentedI 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.
Comment #3
guldi commentedyou were right, it was the key.
Iit was a space on the end of the key on /admin/settings/nagios....
thx!
Comment #4
guldi commented