Hi Team, how to monitor linux client machine Swap space through pandora FMS server..can you please guide me how to add modules on Pandora agent.
Inicio del debate
miyappan · 27 dic 2016, 11:15 · 2 mensajes · 48 visitas
Hi Team, how to monitor linux client machine Swap space through pandora FMS server..can you please guide me how to add modules on Pandora agent.
Hi miyappan, You will need to install a software agent in your machine. Using swapon command you will be able to see that information, e.g: [root@artica]# swapon -s Filename Type Size Used Priority /dev/dm-1 partition 2097148 125676 -1 After that you will need to edit /etc/pandora/pandora_agent.conf and add at the end of the file: module_begin module_name Swap Used module_type generic_data module_exec swapon -s | grep /dev/dm-1 | gawk '{print $4}' module_end Save conf file and restart pandora_agent_daemon service. Best regards, Roberto.
Entra en tu cuenta para publicar.