Welcome to Pandora FMS Community › Forums › Community support › WOW …I am the first one to post here (^_^)
-
WOW …I am the first one to post here (^_^)
Posted by neverland on October 17, 2007 at 06:30There are several servers which i am taking care of always become disk fulll oftenly. And I’d like to add some function in pandora fms to show up if there is some disk full. what function will be suit to this situation
regard and thanks
neverland replied 17 years, 3 months ago 4 Members · 20 Replies -
20 Replies
-
::
You should be honored to be the fist one 🙂
Anyways, I’m supposing you’re using linux so this should do the trick:
module_begin
module_name disk_root_free
module_type generic_data
module_exec df -kh / | tail -1 | awk ‘{ print 100-$5 }’
module_max 100
module_min 0
module_description Free disk Percentage of root partition
module_endNow, just set up the alert with the value you’d like pandora to warn you
Hope this helps
Manuel -
::
Hello manu, really thank you for your fast reply but i still not understand about your reply
For the below code i need to add it on server pandora or the satelite/ client pandora?.. and how?
module_begin
module_name disk_root_free
module_type generic_data
module_exec df -kh / | tail -1 | awk ‘{ print 100-$5 }’
module_max 100
module_min 0
module_description Free disk Percentage of root partition
module_end
My version os : redhat enterprise 4 -
-
::
Hello manu, really thank you for your fast reply but i still not understand about your reply
For the below code i need to add it on server pandora or the satelite/ client pandora?.. and how?
module_begin
module_name disk_root_free
module_type generic_data
module_exec df -kh / | tail -1 | awk ‘{ print 100-$5 }’
module_max 100
module_min 0
module_description Free disk Percentage of root partition
module_end
My version os : redhat enterprise 4Add it on the pandora_agent.conf file of the agent.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
::
ip_conntrack: table full, dropping packet.
ip_conntrack: table full, dropping packet.Seems to be a problem with netfilter (too small conntable), it’s easy to increase:
echo “40952” > /proc/net/ipv4/ip_conntrack_max
To make it fixed on every reboot:
/etc/sysctl.conf :
net/ipv4/netfilter/ip_conntrack_max=40952
Hope it helps 😉
-