Pandora FMS Community

WOW ...I am the first one to post here (^_^)

neverland · 17 oct 2007, 6:30 · 21 mensajes · 93 visitas

  1. Inicio del debate

    There 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

  2. 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_end Now, just set up the alert with the value you'd like pandora to warn you Hope this helps Manuel

  3. 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

  4. now i still using beta version

  5. 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

    Add it on the pandora_agent.conf file of the agent.

  6. hi i get confused if i want it fires alert only when the disk become full what max and min i need to identify thanks again

  7. anyway i would like to ask some more thing about how can i make it alert only when disk full

  8. Delete de max and min value from the pandora_agent.conf in the section of the "full disk" And when setting the alert just choose, if you want the alert to be fired when the 90% of the disk is full, choose min value 0 and max value 90 Manuel.

  9. hello again i wanna ask if can i also apply "disk_root_free" as package full too?

  10. sorry for my mistake it is not package full but it is packet full

  11. What?

  12. i am not sure if i type it wrong or not what i am trying to do is make the alert show in red color when the client pandora packet full.

  13. I'm sorry I don't understand you yet, "pandora client packet" ?

  14. 1st: I ask u about function for disk full and u suggest me to use "module disk root free" 2nd: and now I ask u function for packet full. according to last question of disk full if i set alert as enable and min0 and max90 ...will the alert fire when disk full? thank

  15. 1: True 2: I don't know what "packet full" means The alert will be fired whenever the value is more than 90 (which is the % occupated in the disk) (I said 90% as an example)

  16. ip_conntrack: table full, dropping packet. ip_conntrack: table full, dropping packet.

  17. You're gonna have to to scripting and try to asing full=1 otherwise = 0 and set up that in the module.

  18. thank you for yr suggestion but can u guide me more how to script it and how can i put it into pandora thanks

  19. What's the command you use to get that?

  20. 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 ;)

Entra en tu cuenta para publicar.