05-20-2010
Hello,
Thanks for your script
I juste want to try for apache but when I try with an zabbix_get -s192.168.0.8 -kapache2.total_accesses
I received all the time this message :
ZBX_NOTSUPPORTED
My zabbix_agentd is well configured with ipserver 192.168.0.165
Can you help me ?
This User Gave Thanks to avrilspirit For This Post:
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to perl. I want to write a perl script to monitor logs. Where i want to monitor exceptions logged or any kind of error strings. I have a dir(On Solaris) with multiple log file which keeps rolling to .gz file after some time in that same dir. These logs files size keeps on... (0 Replies)
Discussion started by: solitare123
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am new to perl. I want to write a perl script to monitor logs. Where i want to monitor exceptions logged or any kind of error strings. I have a dir(On Solaris) with multiple log file which keeps rolling to .gz file after some time in that same dir. These logs files size keeps on... (1 Reply)
Discussion started by: solitare123
1 Replies
3. Infrastructure Monitoring
Tim Bass
03-20-2009 07:02 AM
Source... (0 Replies)
Discussion started by: Linux Bot
0 Replies
4. Infrastructure Monitoring
Tim Bass
03-23-2009 03:45 PM
Source... (0 Replies)
Discussion started by: Linux Bot
0 Replies
5. Programming
Hi,
I have XML file and I extracted some tags and stored in hash, my data as look like this
$var1={
'stud.xml'={
'24'=>'<address>
<streetname="xxxx"/>
<housenum="138"/">
... (9 Replies)
Discussion started by: veerubiji
9 Replies
6. Programming
Hi how can I read this information using template toolkit
$var1= {
'STC'=>
};
I am not able to get this type of complex data , Remaining everything I solved and I am getting output as I want but this problem suffers me.please help me. (0 Replies)
Discussion started by: veerubiji
0 Replies
7. Shell Programming and Scripting
Hi,
Can anyone help me to start a monitoring script in perl of a FTP server. (2 Replies)
Discussion started by: phanik143
2 Replies
8. Shell Programming and Scripting
Hello gurus;
I need to do a script to complete a technical template and I don't have idea to how to do :wall: I've try with bash and awk or sed but my brain is empty in this script. I need help please.
The incoming file is a csv with an index number, first occurence in the possition of the... (2 Replies)
Discussion started by: renderuas
2 Replies
LEARN ABOUT DEBIAN
apache2::build
Apache2::Build(3pm) User Contributed Perl Documentation Apache2::Build(3pm)
NAME
Apache2::Build - Methods for locating and parsing bits of Apache source code
SYNOPSIS
use Apache2::Build ();
my $build = Apache2::Build->new;
# rebuild mod_perl with build opts from the previous build
% cd modperl-2.0
% perl -MApache2::Build -e rebuild
DESCRIPTION
This module provides methods for locating and parsing bits of Apache source code.
Since mod_perl remembers what build options were used to build it, you can use this knowledge to rebuild it using the same options. Simply
chdir to the mod_perl source directory and run:
% cd modperl-2.0
% perl -MApache2::Build -e rebuild
If you want to rebuild not yet installed, but already built mod_perl, run from its root directory:
% perl -Ilib -MApache2::Build -e rebuild
METHODS
new Create an object blessed into the Apache2::Build class.
my $build = Apache2::Build->new;
dir Top level directory where source files are located.
my $dir = $build->dir;
-d $dir or die "can't stat $dir $!
";
find
Searches for apache source directories, return a list of those found.
Example:
for my $dir ($build->find) {
my $yn = prompt "Configure with $dir ?", "y";
...
}
inc Print include paths for MakeMaker's INC argument to "WriteMakefile".
Example:
use ExtUtils::MakeMaker;
use Apache2::Build ();
WriteMakefile(
'NAME' => 'Apache2::Module',
'VERSION' => '0.01',
'INC' => Apache2::Build->new->inc,
);
module_magic_number
Return the MODULE_MAGIC_NUMBER defined in the apache source.
Example:
my $mmn = $build->module_magic_number;
httpd_version
Return the server version.
Example:
my $v = $build->httpd_version;
otherldflags
Return other ld flags for MakeMaker's dynamic_lib argument to "WriteMakefile". This might be needed on systems like AIX that need
special flags to the linker to be able to reference mod_perl or httpd symbols.
Example:
use ExtUtils::MakeMaker;
use Apache2::Build ();
WriteMakefile(
'NAME' => 'Apache2::Module',
'VERSION' => '0.01',
'INC' => Apache2::Build->new->inc,
'dynamic_lib' => {
'OTHERLDFLAGS' => Apache2::Build->new->otherldflags,
},
);
AUTHOR
Doug MacEachern
perl v5.14.2 2013-03-12 Apache2::Build(3pm)