(plugin) network::cambium::cnpilot::snmp - add list-interfaces mode

This commit is contained in:
Lucie Dubrunfaut 2023-06-07 10:03:50 +02:00 committed by GitHub
parent 47bd26dbda
commit 765eadd57f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
"dependencies": [
"libsnmp-perl"
]
}

View File

@ -0,0 +1,14 @@
{
"pkg_name": "centreon-plugin-Network-Cambium-Cnpilot-Snmp",
"pkg_summary": "Centreon Plugin",
"plugin_name": "centreon_cambium_cnpilot.pl",
"files": [
"centreon/plugins/script_snmp.pm",
"centreon/plugins/snmp.pm",
"snmp_standard/mode/listinterfaces.pm",
"snmp_standard/mode/interfaces.pm",
"snmp_standard/mode/uptime.pm",
"snmp_standard/mode/resources/",
"network/cambium/cnpilot/snmp/"
]
}

View File

@ -0,0 +1,5 @@
{
"dependencies": [
"perl(SNMP)"
]
}

View File

@ -33,6 +33,7 @@ sub new {
'connection-status' => 'network::cambium::cnpilot::snmp::mode::connectionstatus',
'cpu' => 'network::cambium::cnpilot::snmp::mode::cpu',
'interfaces' => 'network::cambium::cnpilot::snmp::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-radios' => 'network::cambium::cnpilot::snmp::mode::listradios',
'memory' => 'network::cambium::cnpilot::snmp::mode::memory',
'radios' => 'network::cambium::cnpilot::snmp::mode::radios'