Skip to main content

Hello,

 

When I am trying to use Blocked-Packets-Per-Interface  feature on pfSense, I get the following error : UNKNOWN: Need to specify OIDs.

 

Same when I try to launch the following command (from centreon documentation) :

/usr/lib/centreon/plugins/centreon_pfsense.pl \
--plugin=apps::pfsense::snmp::plugin \
--mode=pfinterfaces \
--hostname='10.0.0.1' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--filter-name='em.*' \
--warning-traffic-in-block='80' \
--warning-traffic-out-block='90' \
--critical-traffic-in-block='80' \
--critical-traffic-out-block='90' \
--use-new-perfdata

 

I activated my IT-100 license and installed pfSense plugin. Any idea of what could be the issue ?

 

Thank you.

👋

 

@ElFabinou if you have updated the command to match your setup you can add --debug to see what else it gets us

 

/usr/lib/centreon/plugins/centreon_pfsense.pl \
    --plugin=apps::pfsense::snmp::plugin \
    --mode=pfinterfaces \
    --hostname='10.0.0.1' \
    --snmp-version='2c' \
    --snmp-community='my-snmp-community' \
    --filter-name='em.*' \
    --warning-traffic-in-block='80' \
    --warning-traffic-out-block='90' \
    --critical-traffic-in-block='80' \
    --critical-traffic-out-block='90' \
    --use-new-perfdata --debug

 

When a new service gets added you can also get the command by going to “ Monitoring > Resources Status” selecting the service and get access to the command from the right panel. You can use that to run it in the terminal as centreon-engine user.

 

You can also begin with the Troubleshooting guide

 

https://docs.centreon.com/pp/integrations/plugin-packs/getting-started/how-to-guides/troubleshooting-plugins/

 

🤞


Hello,

 

Thank you for your answer, here is the result I get from this command :

 

Any idea ? Thank you !


Is there an particular one that you are looking for? 

 

    --filter-name
Filter by interface name (can be a regexp).

 


Reply