Jump to content

Iptables Service Monitoring


pheald

Recommended Posts

I am running CentOS 6 and I can track most of my /etc/init.d services just fine - except for iptables.  When the service is running, Pulseway reports that it is down.

For example, these lines work just fine:

<Service Name="ntpd" DisplayName="NTPD Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>
<Service Name="crond" DisplayName="Cron Daemon" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>

But this one does not

<Service Name="iptables" DisplayName="iptables Service" IsDaemon="true" DaemonType="SYSVINIT" Path="" StartParameters="" CanBeStopped="true" Enabled="true"/>

Does anyone have any ideas?  I'm relatively new to Pulseway so it is entirely possible that I'm just missing something obvious.

 

Edit: I just confirmed that I can start the service successfully when I manually stop it, but it still never detects it as running.

Edited by pheald
Added troubleshooting step
Link to comment
Share on other sites

  • Staff

Hi,

Unfortunately you can't monitor this service. There is no status (as in service status) reported when you check the service status. It will only list the rules in all chains.

Mark

 

 

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...