Le 2014-05-13 18:36, Jordi Sanfeliu a écrit :
> Can you, please, specify which OS have you there?
Debian 7.4
Linux vps 2.6.32-042stab085.20 #1 SMP Fri Mar 21 19:07:05 MSK 2014
x86_64 GNU/Linux
> Also, can you paste the <port> block of your configuration file?
<port>
max = 9
rule = 24000
list = 25, 15167, 80, 22, 110, 139, 3306, 53, 143
<desc>
25 = SMTP, tcp, in, 0, 1000
15167 = CJDNS, udp, in/out, 0, 1000
80 = HTTP, tcp, in, 0, 1000
22 = SSH, tcp, in, 0, 1000
110 = POP3, tcp, in, 0, 1000
139 = NETBIOS, tcp, in, 0, 1000
3306 = MYSQL, tcp, in, 0, 1000
53 = DNS, udp, in, 0, 1000
143 = IMAP, tcp, in, 0, 1000
</desc>
graphs_per_row = 3
</port>
I simply replaced the entry for the FTP by another one for CJDNS.
> Can you paste the <fs> block of your configuration file?
<fs>
<list>
0 = /, swap
</list>
<desc>
</desc>
<devmap>
</devmap>
rigid = 2, 0, 2, 0
limit = 100, 1000, 100, 1000
<alerts>
rootfs_enabled = n
rootfs_timeintvl = 3600
rootfs_threshold = 100
rootfs_script = /path/to/script.sh
</alerts>
</fs>
All values are default values
I suppose that the errors about fs come from this "/path/to/script.sh".
To which file should I make it point? But FS is not very important to
me, for now.
>> # iptables-save
>> ...
>> :monitorix_IN_0 - [0:0]
>> :monitorix_IN_1 - [0:0]
>> :monitorix_IN_2 - [0:0]
>> :monitorix_IN_3 - [0:0]
>> :monitorix_IN_4 - [0:0]
>> :monitorix_IN_5 - [0:0]
>> :monitorix_IN_6 - [0:0]
>> :monitorix_IN_7 - [0:0]
>> :monitorix_IN_8 - [0:0]
>> :monitorix_OUT_1 - [0:0]
>> ...
>
> Do not save the Monitorix rules, they are created and removed
> automatically everytime you start and stop Monitorix.
No, these rules are not saved and restored with my script, I just wanted
to show you that they are correctly created when I start monitorix. I
should have used iptables -L instead of iptables-save, I guess :-)
> # iptables -nxvL INPUT
>
> should say you the current traffic accounting for each port in the
> INPUT
> chain.
The output shows no lines about monitorix rules...
>
> Let me know.
> Regards.
Thanks for your help!
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Monitorix-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monitorix-general