Skip to main content

Manual execution

The plugin can be run manually by terminal to check its correct configuration before its subsequent installation in PandoraFMS. This has two parameters, -c or --conf (you can use whichever you prefer) to call the configuration conf file.

For a correct configuration of the configuration file, carefully review the previous chapter of this manual called "Parameters". In it, all the possible configuration options are detailed.

Manual execution

./pandora_xenserver -c <path conf file>

An example output would be the following:

<module>
<name><![CDDATA[XenServer Plugin]]></name>
<type><![CDTADA[async_string]]></type>
<description><!CDDATA[Result of XenServer Plugin execution]]></description>
<data><![CDATA[OK]]></data>
</module>

As discovery plugin

./pandora_xenserver -c <ruta al archivo conf de configuraciĆ³n> --as_discovery_plugin 1 

An example output would be the following:

[{"summary":{"Hosts":1,"Storage":7, "VMs":23,"Hosts VMs running":10,"Hosts VMs installed":95}}]