12 Commits

Author SHA1 Message Date
florian
d1159d300c [package] update monit from 5.0.3 to 5.1.1
I wanted to configure monit with a rule that checks a network
connection, restarts the connection if it fails, and eventually
reboots the entire router if the connection restarts don't work.

I wrote this in my rules:

  start "/sbin/ifup inet"
  stop "/sbin/ifdown inet"
  if failed icmp type echo count 3 timeout 10 seconds then restart
  if 3 restarts within 5 cycles then exec "/sbin/reboot"

When I tested these rules I found that monit 5.0.3 does not
support the phrase:

  ... then exec "/sbin/reboot"

But this phrase is supported by monit 5.1.1.

I patched the Makefile to upgrade to 5.1.1, rebuilt and reflashed,
and now my monit rule runs as intended.  So I have tested this on a
grand total of one machine (Linksys WAG354G, TI AR7).  Is this
enough to justify upgrading monit for everyone?

My changes to package/feeds/packages/monit/Makefile are below.
They were generated with svn diff.

Signed-off-by: Jon Hirst <openwrt@jonmail.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@23624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 20:44:51 +00:00
florian
703a367823 [package] update monit to 5.0.3 (#5284)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 13:59:28 +00:00
florian
1e9af337fb [package] update monit to 5.0.2 (#5217)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28 09:13:23 +00:00
nbd
996067d6b3 nuke $Id$ in /packages as well
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:22:30 +00:00
florian
3791dad835 Update monit to 4.10.1 (#3776)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-18 13:51:23 +00:00
blogic
0a5cafe97c package clean up
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-21 15:59:31 +00:00
nico
2bb56a840f fix typo remaining from [8488]
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 19:20:15 +00:00
nico
7ae072d5da tweak Makefile, only build package variants when they are selected, replace DESCRIPTION:= with Package/*/description
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 19:16:54 +00:00
pavlov
60f9ba80bb update monit to 4.9 from 4.6
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04 02:27:48 +00:00
florian
58fc252380 Use the newly added INSTALL_CONF variable
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 15:24:20 +00:00
nbd
c0e5247848 replace lots of manual install commands with INSTALL_* variables
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
florian
b77b39d49f Port monit to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-05 16:12:53 +00:00