Hi list,

I've got some problems with getting Apache::VMonitor showing the
requests, everything but client ip and requests shows. 
when i call server/scoreboard do i get a file, and 'strings
scoreboard|grep -A 1 myip' shows my ip and request (can't find the pid
though) so the info should be there. I've added :
 'REQ="'.$rec->{request}.'"'; #line 373 in Apache::VMonitor
and when i call server/sys-monitor do i get 'REQ=""' foreach row. So it
tries to print but it's all empty.

I guess this is some silly conf thingy i've missed out. I have it
running fine on another system and i can't see the diff in
configuration.
here's a snippet of httpd.conf:

# httpd.conf
PerlFreshRestart On  
Perlrequire /usr/local/apache/conf/startup.pl
PerlModule Apache::Scoreboard

<Location /perl-status>
   SetHandler perl-script
   PerlHandler Apache::Status
   order deny,allow
   deny from all
   allow fromlocalhost
</Location>
<Location /sys-monitor>
   SetHandler perl-script
   PerlHandler Apache::VMonitor
   order deny,allow
   deny from all
   allow from localhost 
</Location>
<Location /scoreboard>
   SetHandler perl-script
   PerlHandler Apache::Scoreboard::send
   order deny,allow
   deny from all
   allow from localhost 
</Location>
# END
and here's the part from startup.pl with Apache::VMonitor:
use Apache::VMonitor();
$Apache::VMonitor::Config{BLINKING} = 1;
$Apache::VMonitor::Config{REFRESH}  = 0;
$Apache::VMonitor::Config{VERBOSE}  = 0;
$Apache::VMonitor::Config{SYSTEM}   = 1;
$Apache::VMonitor::Config{APACHE}   = 1;
$Apache::VMonitor::Config{PROCS}    = 1;
$Apache::VMonitor::Config{MOUNT}    = 1;
$Apache::VMonitor::Config{FS_USAGE} = 1;
$Apache::VMonitor::Config{SORT_BY}  = 'size';
$Apache::VMonitor::PROC_REGEX = join "|", qw(httpd mysql);
$Apache::VMonitor::Config{PROC_REGEX}  = join "|", qw(httpd mysql);
#END

And here's my system:
Embedded Perl version v5.6.0 for Apache/1.3.23 (Unix) mod_perl/1.26 
$Apache::VMonitor::VERSION = '0.6';
Apache::Scoreboard version: $VERSION = '0.10';

So is there anything obivous I've missed out?

/Jon

Reply via email to