Closed Thibaud-OBSSA closed 1 year ago
Yes an option could be added
https://github.com/centreon/centreon-plugins/pull/4443
You can use the following command to create the cache file:
perl centreon_plugins.pl --plugin=apps::protocols::snmp::plugin --hostname='127.0.0.1' --snmp-port=1611 --snmp-community='cisco_wlc' --snmp-version=2c --verbose --mode=cache --snmpwalk=.1.3.6.1.4.1.29671.1.1.4.1 --snmpwalk=.1.3.6.1.4.1.29671.1.1.5.1 --file=/tmp/meraki_cache.json
And you can use following option:
perl centreon_plugins.pl --plugin=network::cisco::meraki::cloudcontroller::snmp::plugin --mode=device-usage --snmp-cache-file=/tmp/meraki_cache.json
Hi,
Can you add an option for the mode "device-usage" for the plugin "network::cisco::meraki::cloudcontroller::snmp".
An option "generate-cache-only" would be helpfull. When the Meraki organization is very big. Generating the cache takes very long time and the plugin is killed by centreon-engine.
Adding this option would simplify the generation of the cache outside centreon (crontab).
Regards