Sponsored Content
Special Forums UNIX and Linux Applications Infrastructure Monitoring Zabbix Template and PERL Script for Monitoring Apache2 Post 302423064 by avrilspirit on Thursday 20th of May 2010 05:41:06 AM
Old 05-20-2010
Hello,
Thanks for your script Smilie
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

Log Monitoring through Perl

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

Perl Scripting for monitoring logs

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

A Review of Zabbix - Zabbix Rules! (Part 1)

Tim Bass 03-20-2009 07:02 AM Source... (0 Replies)
Discussion started by: Linux Bot
0 Replies

4. Infrastructure Monitoring

A Review of Zabbix - Zabbix Rules! (Part 2)

Tim Bass 03-23-2009 03:45 PM Source... (0 Replies)
Discussion started by: Linux Bot
0 Replies

5. Programming

Perl script to create latex template.

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

need help in perl template toolkit module.

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

Help with FTP Monitoring Using Perl

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

Script to complete all fields of template

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
install::TempContent::Objects::mod_perl-2.0.9::docs::apiUseraContributed)install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::MPM(3)

NAME
Apache2::MPM - Perl API for accessing Apache MPM information Synopsis use Apache2::MPM (); # check whether Apache MPM is threaded if (Apache2::MPM->is_threaded) { do_something() } # which mpm is used my $mpm = lc Apache2::MPM->show; # query mpm properties use Apache2::Const -compile => qw(:mpmq); if (Apache2::MPM->query(Apache2::Const::MPMQ_STATIC)) { ... } Description "Apache2::MPM" provides the Perl API for accessing Apache MPM information. API
"Apache2::MPM" provides the following functions and/or methods: "query" Query various attributes of the MPM my $query = Apache2::MPM->query($const); obj: $class ( "Apache2::MPM class" ) the class name arg1: $const ( "Apache2::Const :mpmq group constant" ) The MPM attribute to query. ret: $query ( boolean ) the result of the query since: 2.0.00 For example to test whether the mpm is static: use Apache2::Const -compile => qw(MPMQ_STATIC); if (Apache2::MPM->query(Apache2::Const::MPMQ_STATIC)) { ... } "is_threaded" Check whether the running Apache MPM is threaded. my $is_threaded = Apache2::MPM->is_threaded; obj: $class ( "Apache2::MPM class" ) the class name ret: $is_threaded ( boolean ) threaded or not since: 2.0.00 Note that this functionality is just a shortcut for: use Apache2::Const -compile => qw(MPMQ_IS_THREADED); my $is_threaded = Apache2::MPM->query(Apache2::Const::MPMQ_IS_THREADED); "show" What mpm is used my $mpm = Apache2::MPM->show(); obj: $class ( "Apache2::MPM class" ) the class name ret: $mpm ( string ) the name of the MPM. e.g., "Prefork". since: 2.0.00 See Also mod_perl 2.0 documentation. Copyright mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0. Authors The mod_perl development team and numerous contributors. perl v5.18.2 2015-install::TempContent::Objects::mod_perl-2.0.9::docs::api::Apache2::MPM(3)
All times are GMT -4. The time now is 12:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy