How to Add [apache] variable in connectiontracking Email
Posted: 02 Mar 2013, 15:05
Actually the connectiontracking.txt file reports this information:
From: root
To: root
Subject: lfd on [hostname]: [ip] blocked with too many connections
Time: [time]
IP: [ip]
Connections: [ipcount]
Blocked: [temp]
Connections:
[iptext]
--------------
I like receive in this SAME email this other variables:
Time: [time]
1 Min Load Avg: [loadavg1]
5 Min Load Avg: [loadavg5]
15 Min Load Avg: [loadavg15]
Running/Total Processes: [totprocs]
--------------
[apache]
--------------
How can i do this?
I try insert this lines in connectiontracking.txt but the variables dont work...
Can You help me?
From: root
To: root
Subject: lfd on [hostname]: [ip] blocked with too many connections
Time: [time]
IP: [ip]
Connections: [ipcount]
Blocked: [temp]
Connections:
[iptext]
--------------
I like receive in this SAME email this other variables:
Time: [time]
1 Min Load Avg: [loadavg1]
5 Min Load Avg: [loadavg5]
15 Min Load Avg: [loadavg15]
Running/Total Processes: [totprocs]
--------------
[apache]
--------------
How can i do this?
I try insert this lines in connectiontracking.txt but the variables dont work...
Can You help me?