geonode.monitoring.probes ========================= .. py:module:: geonode.monitoring.probes Classes ------- .. autoapisummary:: geonode.monitoring.probes.BaseProbe Functions --------- .. autoapisummary:: geonode.monitoring.probes.get_probe Module Contents --------------- .. py:class:: BaseProbe .. py:method:: get_loadavg() :staticmethod: .. py:method:: get_uname() :staticmethod: returns list similar to https://docs.python.org/2/library/os.html#os.uname .. py:method:: get_uptime() :staticmethod: Get uptime in seconds .. py:method:: get_mem() :staticmethod: Returns dictionary with memory information (in MB) with keys: all usage buffers free percent .. py:method:: get_cpu() :staticmethod: .. py:method:: get_disk() :staticmethod: Returns a list of drives with capacity and utilization. Each list item contains: - Block device (e.g., /dev/sXX) - Total capacity (in bytes) - Used space - Free space - Utilization (as a percentage) - Mount point .. py:method:: get_network() :staticmethod: Returns a dictionary with IP information: .. code-block:: python { ifname: { 'mac': mac, 'ip': ip, 'traffic': { 'in': txin, 'out': txout } } } .. py:function:: get_probe()