diff --git a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/alerts.pm b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/alerts.pm index b19ffc994..44053cb69 100644 --- a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/alerts.pm +++ b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/alerts.pm @@ -120,7 +120,7 @@ sub new { $options{options}->add_options(arguments => { 'filter-type:s' => { name => 'filter_type' }, 'filter-severity:s' => { name => 'filter_severity' }, - 'interface:i' => { name => 'interface', default => 0 }, + 'interface:s' => { name => 'interface', default => 0 }, 'period:s' => { name => 'period', default => 'last-5mns' } }); diff --git a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/hostflows.pm b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/hostflows.pm index 5afd70a6a..16a4e7ef0 100644 --- a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/hostflows.pm +++ b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/hostflows.pm @@ -97,7 +97,7 @@ sub new { bless $self, $class; $options{options}->add_options(arguments => { - 'interface:i' => { name => 'interface', default => 0 }, + 'interface:s' => { name => 'interface', default => 0 }, 'ip:s' => { name => 'ip' } }); diff --git a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/netflowhealth.pm b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/netflowhealth.pm index 1b712a4a8..a57beee9f 100644 --- a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/netflowhealth.pm +++ b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/netflowhealth.pm @@ -120,7 +120,7 @@ sub new { bless $self, $class; $options{options}->add_options(arguments => { - 'interface:i' => { name => 'interface', default => 0 } + 'interface:s' => { name => 'interface', default => 0 } }); return $self; diff --git a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/probehealth.pm b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/probehealth.pm index 8ab944214..f33281e75 100644 --- a/centreon-plugins/apps/monitoring/ntopng/restapi/mode/probehealth.pm +++ b/centreon-plugins/apps/monitoring/ntopng/restapi/mode/probehealth.pm @@ -75,7 +75,7 @@ sub new { bless $self, $class; $options{options}->add_options(arguments => { - 'interface:i' => { name => 'interface', default => 0 } + 'interface:s' => { name => 'interface', default => 0 } }); return $self;