"Fossies" - the Fresh Open Source Software Archive

Member "pandora_server/util/plugin/pandora_inventory_change.README" (15 Sep 2021, 915 Bytes) of package /linux/misc/pandorafms_server-7.0NG.757.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Pandora FMS Inventory Change detector for Pandora FMS
    2 =====================================================
    3 
    4 This is a small remote plugin used in Pandora FMS 3.0 or higher to check if a inventory module has changed. It connects to Pandora FMS database and checks if inventory data for a given module in a given agent has changed.
    5 
    6 Returns 0 if fails and 1 if it's the same, so this remote module should be configured using a generic_proc (generic Boolean) module type. Parameters accepted are two:
    7 
    8  -m <module_name>
    9  -a <agent_name>
   10 
   11 This is an example call to the plugin:
   12 
   13  pandora_inventory_change.pl -a almendra -m Cisco_Device_Configuration
   14 
   15 It stores in /tmp a file with the MD5 hash for the whole inventory data for each agent module:
   16 
   17  -rw-r--r-- 1 root root 32 jun  3 16:14 /tmp/inv_almendra_Cisco_Device_Configuration
   18 
   19 Witch contains a MD5 hash of the configuration:
   20 
   21  7e3ec4986f2e3951a83fb5ff4cab8396
   22 
   23