Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monitor Swap space
#1
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.
 Reply
#2
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:

[[email protected]]# 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.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes