The most straightforward way should be "iptables -L -n", grep for what you are looking for, if found "touch" a file and check that file's timestamp with monit.
On Thu, Jul 19, 2012 at 6:25 AM, Martin Lambev
<address@hidden> wrote:
Hello guys,
I have to find a way to monitor if my CentOS iptables are active or not, and masqarade rule is active.
but I can find a sense way to do it? I looked for pid file does not find any.
Does someone monitor his iptables and how, juts can't come up with anything useful.
Any advice is welcome.
Thanks!
Martin
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general