mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
commit
69534a70d0
1 changed files with 3 additions and 6 deletions
|
@ -40,7 +40,7 @@ server {
|
|||
=head2 APACHE 2.2 CONFIG
|
||||
|
||||
FastCgiExternalServer /var/run/hhvm_admin.fcgi -host 127.0.0.1:8080
|
||||
Listen 127.0.0.1:8081
|
||||
Listen 127.0.0.1:8081
|
||||
<VirtualHost 127.0.0.1:8081>
|
||||
Alias /check-health /var/run/hhvm_admin.fcgi
|
||||
Alias /status.json /var/run/hhvm_admin.fcgi
|
||||
|
@ -107,8 +107,6 @@ tc-profsize.label TC Profiling Size
|
|||
tc-profsize.info Translation Cache Profiling Size
|
||||
tc-coldsize.label TC Cold Size
|
||||
tc-coldsize.info Translation Cache Cold Size
|
||||
tc-trampolinessize.label TC Trampoline Size
|
||||
tc-trampolinessize.info Translation Cache Trampoline Size
|
||||
tc-frozensize.label TC Frozen Size
|
||||
tc-frozensize.info Translation Cache Frozen Size
|
||||
rds.label RDS Used Bytes
|
||||
|
@ -121,7 +119,7 @@ EOF
|
|||
my $status = getJson( sprintf( '%s/status.json', $url ) );
|
||||
|
||||
printf( "multigraph hhvm_%s_threads\n", $graphName );
|
||||
printf( "threads.value %d\n", int( @{ $status->{'status'}->{'threads'} } ) );
|
||||
printf( "threads.value %d\n", int( @{ $status->{'status'}->{'threads'} } ) );
|
||||
printf( "load.value %d\n", $health->{'load'} );
|
||||
printf( "queued.value %d\n", $health->{'queued'} );
|
||||
print "\n";
|
||||
|
@ -131,7 +129,6 @@ EOF
|
|||
printf( "tc-size.value %d\n", $health->{'tc-size'} );
|
||||
printf( "tc-profsize.value %d\n", $health->{'tc-profsize'} );
|
||||
printf( "tc-coldsize.value %d\n", $health->{'tc-coldsize'} );
|
||||
printf( "tc-trampolinessize.value %d\n", $health->{'tc-trampolinessize'} );
|
||||
printf( "tc-frozensize.value %d\n", $health->{'tc-frozensize'} );
|
||||
printf( "rds.value %d\n", $health->{'rds'} );
|
||||
printf( "units.value %d\n", $health->{'units'} );
|
||||
|
@ -151,4 +148,4 @@ sub getJson( $ ) {
|
|||
die( sprintf( "Could not decode json from '%s'.", $url ) );
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue