Iptables status with SNMP
Posted: Tue Apr 20, 2021 11:03 am
Hello,
i'm currently using Linux (Debian) and Centreon,
I wish I could see the status of iptables service, with the snmp plugin. I use Iptables as a service with systemd
i use the following command :
/usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode='processcount' --hostname='x.x.x.x' --snmp-community='community' --snmp-version='2c' --process-name='iptables'
OK: Number of current processes running: 0 | 'nbproc'=0;;;0;
=> OK: Number of current processes running: 0 | 'nbproc'=0;;;0;
any idea ?
i'm currently using Linux (Debian) and Centreon,
I wish I could see the status of iptables service, with the snmp plugin. I use Iptables as a service with systemd
i use the following command :
/usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode='processcount' --hostname='x.x.x.x' --snmp-community='community' --snmp-version='2c' --process-name='iptables'
OK: Number of current processes running: 0 | 'nbproc'=0;;;0;
=> OK: Number of current processes running: 0 | 'nbproc'=0;;;0;
any idea ?