diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 7248f3a7ad..dd51c6549e 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,29 @@ +2007-04-22 Sancho Lerena + + * linux/contrib/pandora_agent_installer: Fixed small bugs. + + * linux/pandora_agent.conf: Fixed small bug. + + This version of installer works fine in a Ubuntu 6.10 Server + +2007-04-21 Sancho Lerena + + * pandora_agent_daemon moved to contrib dir. + + * deleted Doc dir. + + * moved pandora_agent_installer to contrib dir. + + * Added LICENCE with GPL data. + + * Deleted README with old text stuff. + + * Moved pandora_agent.sh to pandora_agent + + * pandora_agent: Added feature: TRANSFER_MODE. + + * pandora_agent.conf: Added feature token. + 2007-04-19 Sancho Lerena At the moment, only linux agent changes, need to be propagated to diff --git a/pandora_agents/linux/contrib/pandora_agent_installer b/pandora_agents/linux/contrib/pandora_agent_installer index e5eef986bc..404abe3b6d 100755 --- a/pandora_agents/linux/contrib/pandora_agent_installer +++ b/pandora_agents/linux/contrib/pandora_agent_installer @@ -9,7 +9,7 @@ PI_VERSION=1.0 PANDORA_BIN=/usr/bin/pandora_agent -PANDORAL_HOME=/usr/share/pandora +PANDORA_HOME=/usr/share/pandora PANDORA_TEMP=/var/spool/pandora PANDORA_CFG=/etc/pandora PANDORA_LOG=/var/log/pandora_agent.log @@ -87,7 +87,7 @@ install () { chmod 600 $PANDORA_HOME/pandora_agent.conf echo "Copying Pandora FMS Agent user configuration file to $PANDORA_HOME/pandora_user.conf..." - cp pandora_agent.conf $PANDORA_HOME + cp pandora_user.conf $PANDORA_HOME chmod 700 $PANDORA_HOME/pandora_user.conf echo "Linking Pandora FMS Agent configuration to $PANDORA_CFG/pandora_agent.conf..." diff --git a/pandora_agents/linux/pandora_agent.conf b/pandora_agents/linux/pandora_agent.conf index 4dae42e474..7bba6cedc6 100755 --- a/pandora_agents/linux/pandora_agent.conf +++ b/pandora_agents/linux/pandora_agent.conf @@ -62,13 +62,22 @@ module_end module_begin module_name disk_root_free module_type generic_data -module_interval 2 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 + +module_begin +module_name disk_var_free +module_type generic_data +module_exec df -kh /var | tail -1 | awk '{ print 100-$5 }' +module_max 100 +module_min 0 +module_description Free disk Percentage of var partition +module_end + module_begin module_name memfree module_type generic_data