What is your nagios_check_command in cgi.cfg? When you ran your test,
did you use the exact command line as specified there?
nagios_check_command=/usr/bin/perl /usr/nagios/libexec/check_nagios_db.pl
and YES, it works from console as root and su nagios..
Also, when you see the error in the CGI,
-Original Message-
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of qeldroma
Sent: Monday, December 05, 2005 8:45 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Probs with nagios-service/status
What is your nagios_check_command