[文章作者:张宴 本文版本:v1.1 最后修改:2007.08.31 转载请注明出处:http://blog.zyan.cc]

  8月3日,我写了“Linux服务器监控系统 ServMon V1.0”,今天,ServMon V1.1 版本亮相。

  ServMon的原理是用shell脚本定时抓取被监控Linux服务器上的信息,再用curl POST到监控机的PHP接口程序上,由PHP接口程序对信息进行分析,如果存在异常,则发送报警邮件给管理员。报警邮件演示页面请见:http://blog.zyan.cc/read.php/276.htm


  ServMon V1.1 在 1.0 的基础上,增加了对Linux系统负载的监控,并编写了客户端自动安装包:

  (1)、下载并安装ServMon Client
wget http://blog.zyan.cc/soft/linux/servmon/servmon-1.1.linux.tar.gz
tar zxvf servmon-1.1.linux.tar.gz
cd servmon-1.1
./install -i http://yourdomain/servmon/interface.php password


  │  ├─[bin]
  │  │  ├─diskstat_send
  │  │  ├─loadstat_send
  │  │  └─swapstat_send
  │  ├─[cron]
  │  │  └─servmon
  │  └─[data]


  /usr/sbin/sendmail -bd -q30m

  (2)、修改php.ini的[mail function]部分为以下内容,然后重启Apache,使PHP能够使用mail()函数发送电子邮件
[mail function]
; For Win32 only.
;SMTP = localhost
;smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i

CREATE TABLE `tb_diskstat` (
 `ip` varchar(128) NOT NULL default '',
 `date` int(10) NOT NULL default '0',
 UNIQUE KEY `ip` (`ip`)




技术大类 » 其他Unix技术 | 评论(1084) | 引用(0) | 阅读(145667)
Escorts in Islamabad Email Homepage
2024-1-24 17:50
Get 100% Satisfied Escort Service in Islamabad at Discounted Prices You must work with our agency if you want the most dashing and stunning Escort Service in Islamabad. Our Islamabad escorts service and ability to match escort profiles to your choices have won us recognition. You are probably satisfying your hidden urges if you are using our services. Giving our girls a love bite increases their quality tenfold visit our website:- https://islamabadprostitutes.com/https://islamabadprostitutes.com/
SABA KHAN Email Homepage
2024-2-5 22:17
Hiring Call Girls In Lahore can be a fun way to explore your sexual desires. In exchange for payment, a call girl offers friendship and intimate services, allowing you to experience genuine joy almost without commitment.https://islamabadlady.com/escort-service-in-lahore/
2024-2-21 21:19
Sonia is a very easygoing and good girl, From the onset, https://www.mistiroy.in/ my encounter with Sonia was anything but ordinary. It was our first meeting, yet Sonia had this uncanny ability to make me feel at ease as if we'd known each other for years. Her genuine warmth and friendly demeanour set the stage for what would become a series of memorable experiences.
Greater kailash escort Email Homepage
2024-2-23 18:28
Call Now Best High Class Normal Escorts service in greater kailash Hours Available Service I, provide In Delhi NCR Female Escorts Sex Service 100% Customers Satisfaction Guarantee VIP Profiles Top Grade Service 100% Cooperative Escort service greater kailash, i m Mehar Khan best Greater kailash escorts service and Escorts service in greater kailash at Mehar Khanhttps://meharkhan.com/greater-kailash-escorts/
Call Zin Email Homepage
2024-2-23 19:00
Are you looking for Escorts service in gurgaon and escort service? Escort service gurgaon "Gurgaon escort service". No.1 Gurgaon escort services. Chose the Best And Right Gurgaon escorts service. We provide best Gurgaon escort services with our beautiful Escorts service in gurgaon The beautiful ladies from Escort service in gurgaon offer respectful, and honest behavior to provide adorable encounter Escort service in gurgaon along at Call Zin
Mumbai Escorts Email Homepage
2024-2-28 21:55
Welcome to Mumbai Escorts, we are providing Best Escort Services in Mumbai. Here you get all type of Sexy hot Female escort Call Girls at very affordable rate. Our escort call Girls are available for you 24/7 to give unlimited naughty entertainment like GF experience. So don't be late Visit my website for Mumbai Escorts Service.Swati Roy | VIP Escorts In Mumbai | Book Sexy Call Girls |Mumbai Region Independent Escorts,Call Girls |Mumbai Call Girls in Escorts Service |Mumbai Escorts Service, Hire Escort in Mumbai With Room 24/7 |Mumbai Escorts |Mumbai Escorts Service : Free Delivery at Your Door 24/7 |Female Escorts Service in Mumbai - Russian & Model 24/7 |Mumbai Escorts Service, ₹4000 Best Mumbai Call Girls With Room |andheri independent escorts |escort service in vashi |
funmodels777 Email Homepage
2024-2-29 21:41
babitareddy Email
2024-3-1 15:03
Ongoing with the booking of sizzling escort girls in Dwarka of your choice, the client will enjoy it to the fullest. All of the scary ideas will certainly be taken care of. Firstly, all of the selected and desirable females is completely healthy and free of all infections. Secondly, the sexual meeting is mostly carried out in a reputed hotel or guest house. Thirdly, an argument of any nature is not carried out with the client. Post the making of the sexual contract. We are a reputable call girl in Dwarka through which the bridge between the client and the hot Dwarka Escort is possible.
satyamsingh Email
2024-3-1 21:26
To put it simply, Escorts in Delhi is absolutely fascinating accomplices for you. Aside from sex, they provide you fraternities to different events that perform a leading potential to your daily lifestyle. With such incredible accomplices, you aristocracy will rise and furthermore you overall look independent. Along wrinkles, look no more remote than these escort and Escorts.
yasminansari Email
2024-3-15 19:41
Who has this type of dream so guys. Our agency’s escorts are 24×7 hours available in a one-call for you. You can also contact for book   Escorts in Centaur Hotel New Delhi by email and text.
delhinyt Email Homepage
2024-3-18 21:24
Hello friends I am is Urvi Dass. I am an premium call girl in Delhi, and available to come to any hotel in Delhi by invitation only. As a loving model- my clients love to date me on their lovely events. Contact us to know about my availability.
delhinyt Email
2024-3-19 20:38
Delhinyt online gallery to easily search for the items of your choosing. After viewing all of the photographs above, you will be able to choose your favorite call girl in Delhi. https://delhinyt.in/
Sikha Email Homepage
2024-3-23 14:48
Introduce you Call girls in Hyderabad . the ultimate experience in beauty and satisfaction of Independent call girls service ! With our girls gorgeous looks and captivating charm, we promise to provide you with an unforgettable sexual experience. Let me show you why we are the perfect choice for all your needshttps://sikharubel.in/https://sikharubel.in/
sikharubel Email
2024-3-23 14:51
At Hyderabad Call Girls, the best call girls Service in Hyderabad. We provide our clients with beautiful, professional, and genuine Call Girls. Whether you're looking for Indian call girls, Russian call girls, independent call girls, local call girls, or any other type of Call Girl, you'll find them here.
sanya Email
2024-3-28 16:10
India is the fourth largest hub of taking financial aid and services. Taking a loan for business or personal uses is one of the ways that people resort to when in need. These loans work by the flow of EMI or Equated Monthly Installments. Every potential borrower can use the Free EMI Calculator or freeemicalculator.in to compute those EMIs to plan how better they can manage the loan.  https://www.freeemicalculator.in/
seerat Email Homepage
2024-3-28 17:11
The best low price or good quality service is provided in Jaipur. If you are looking for independent call girls, the best service is available in Jaipur.Contact:-9877773777The best low price or good quality service is provided in Jaipur. If you are looking for independent call girls, the best service is available in Jaipur.
topgirlsfun Email
2024-3-29 19:21
<p style="text-align: justify;">Our main idea is that premium <a href="https://topgirlsfun.in/ranchi-call-girl.html">Call Girl Service in Ranchi</a> should always be readily available. We recognized that the market was largely comprised of low-quality Call Girl WhatsApp Numbers in Ranchi, so we set out to change that. It doesn&rsquo;t need to be difficult or time-consuming to meet a Call Girl.&nbsp;</p>
simarkaur Email
2024-3-29 19:23
Our main idea is that premium Call Girl Service in Ranchi should always be readily available. We recognized that the market was largely comprised of low-quality Call Girl WhatsApp Numbers in Ranchi, so we set out to change that. It doesn’t need to be difficult or time-consuming to meet a Call Girl. https://topgirlsfun.in/ranchi-call-girl.htmlhttps://topgirlsfun.in/ranchi-call-girl.html
preetkaur Email Homepage
2024-4-3 12:52
Call Girls Service in ChandigarhDescription: Connect with beautiful, charming, and elegant call girls to make your time in Chandigarh unforgettable. Our discreet services cater to your every fantasy.Call Girls Service in Chandigarh
scotlandpackage Email Homepage
2024-4-4 17:40
if you want to book a scotland travel packages or flight tickets so contact us via website https://scotlandpackage.com/destination/journey-tour
分页: 54/55 第一页 上页 49 50 51 52 53 54 55 下页 最后页
昵称   密码   游客无需密码
网址   电邮   [注册]