<br><br><div><span class="gmail_quote">On 4/23/07, <b class="gmail_sendername">Manuel Arostegui Ramirez</b> <<a href="mailto:manuel@todo-linux.com">manuel@todo-linux.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El Lunes, 23 de Abril de 2007 19:04, Tomas Lewis escribió:<br>> Hello.<br>><br>> This is my first post to the fedora list, don't know if this is the correct<br>> place to post my question to, if this is not, let me know.
<br>><br>> I'm trying to set up the pandora free monitoring system in one of my<br>> servers.<br>> I have already set up the server and the web console without a problem.<br>> Besides that, I'm trying to run the pandora agent in one of the remote
<br>> servers, but I have found some troubles I don't know how to solve yet.<br>> I'm running the agent in daemon mode, but when the XML is written it<br>> remains on the /opt/pandora_agent/data_out I've set up as a temporal one,
<br>> it's not copied to the server /opt/pandora_server/data_in/<br>> If I copy it manually using scp the server process the data smooth.<br>> This is my pandora_agent.conf<br>><br>> # General Parameters
<br>> # ==================<br>><br>> server_ip       <a href="http://10.30.7.134">10.30.7.134</a><br>> server_path     /opt/pandora_server/data_in<br>> pandora_path    /opt/pandora_agent/<br>> temporal        /opt/pandora_agent/data_out
<br>> interval        600<br>> debug           1<br>> checksum        0<br>><br>><br>> # Module Definition<br>> # =================<br>><br>> # vmstat syntax depends on linux distro and vmstat command version, please
<br>> check before use it<br>> module_begin<br>> module_name cpu_user<br>> module_type generic_data<br>> module_interval 1<br>> module_exec vmstat 1 2 | tail -1 | awk '{ print $14 }'<br>> module_max 100
<br>> module_min 0<br>> module_descripcion User CPU Usage (%)<br>> module_end<br>><br>> module_begin<br>> module_name cpu_sys<br>> module_type generic_data<br>> module_exec vmstat 1 2 | tail -1 | awk '{ print $15 }'
<br>> module_max 100<br>> module_min 0<br>> module_description System CPU Usage (%)<br>> module_end<br>><br>> module_begin<br>> module_name disk_root_free<br>> module_type generic_data<br>> module_interval 2
<br>> module_exec df -kh / | tail -1 | awk '{ print 100-$5 }'<br>> module_max 100<br>> module_min 0<br>> module_description Free disk Percentage of root partition<br>> module_end<br>><br>> module_begin
<br>> module_name memfree<br>> module_type generic_data<br>> module_exec cat /proc/meminfo  | grep MemFree | awk '{ print $2 }'<br>> module_end<br>><br>> module_begin<br>> module_name memused<br>
> module_type generic_data<br>> module_exec cat /proc/meminfo | grep "Active"  | awk '{ print $2 }'<br>> module_end<br>><br>> Thank you all.<br>><br>> /Tomas<br><br>Hi Tomas,<br>Well, you're not missing anything and pandora is not failing either. That
<br>behaviour is perfectly normal.<br>When the debug flag is set to 1, pandora agent run as it would does in a<br>normal situation, right, execept from the fact it won't copy the .data file<br>to the server. So pandora agent was doing exactly what it was supposed to
<br>when debug=1 :-)<br><br>So, just set the value to 0, restart the agent and it will work (as long as<br>your ssh connection is properly configured, but that's another long story<br>short )</blockquote><div><br>It works!!!
<br>Thank you Manuel, I missed that, although I read it on the user guide.<br>Thanks again.<br><br>/Tomas<br></div><br></div><br>