Closed (works as designed)
Project:
Nagios Monitoring
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2010 at 09:23 UTC
Updated:
1 Sep 2010 at 13:06 UTC
Hello,
When I try to check the status of my drupal I get the following error. I think it is for the configuration of my host. But it could be operated in any way?
>> ./check_drupal -H MYDOMAIN.COM -U MYID
>> HTTP returned an error code. HTTP: HTTP/1.1 301 Moved Permanently
>> HTTP/1.1 200 OK
Comments
Comment #1
intropedro commentedI discovered why.
In my drupal http://MYDOMAIN/nagios is redirected to http://MYDOMAIN/es/nagios. To work with my drupal I have to add "es" to the next line of the file check_drupal:
>> CMD="$WGET -S -T $timeout -O - -U $unique_id http://$hostname/es/$path"
Comment #2
kbahey commented