LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-05-2011, 02:19 AM   #1
yoachan
Member
 
Registered: Nov 2009
Posts: 109

Rep: Reputation: 16
Munin plugin for Lighttpd and Apache in one machine with two IPs


Dear all,

We have a box (with WHM/CPanel if it's related),
within that box I use two web servers: apache and lighty.
For we have two IPs, Apache is serving one IP and lighty listen to the other IP.

We use munin to monitor our machine, and munin has apache plugin. But AFAIK still no plugin for lighty. The only munin plugin for lighty is for Lighttpd2 from here, and when I tested it, it didn't work for lighty-1.

I notice that some documents said that I should use apache's plugin, but I've already use it to read apache's own stats. And it's possible to use apache's plugin to read from two ports, but I don't think that it can read other IP (for in my case lighty uses different IP).

So basically, does anyone know how can I display lighty to my munin?

any help appreciated.

regards,

Yoachan

Last edited by yoachan; 05-05-2011 at 02:22 AM.
 
Old 05-06-2011, 05:40 AM   #2
yoachan
Member
 
Registered: Nov 2009
Posts: 109

Original Poster
Rep: Reputation: 16
solved.
In case anyone deals with my same issue,

I modified apache's plugin so it make a separate instance,
basically just copy the apache plugin to different file name,
edit (e.g. using vi) and replace all 'apache' to 'lighty'.
This will make the plugin to create different chart for lighty.
and make sure it's ip (server-status URL) pointing secondary IP.

simple solution which takes me days to solve.

Last edited by yoachan; 05-09-2011 at 10:32 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
munin sensors plugin asgozzi Linux - Software 5 08-22-2012 03:35 AM
munin df plugin - volumes missing on the graph Ladowny Linux - Server 1 02-23-2011 12:05 PM
How to run Munin-plugin that has a ".in" prefix kenneho Linux - Server 1 08-31-2010 02:28 AM
Munin configuration to monitor apache and mysql tanveer Linux - Software 0 03-18-2009 04:46 AM
Getting things straight: Apache, SSL, Multiple External IPs / Internal IPs robin.com.au Linux - Server 21 10-13-2007 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration