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

intropedro’s picture

I 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"

kbahey’s picture

Status: Active » Closed (works as designed)