02-07-2019 07:46 AM
I ran the GUI update to the lastest version last night and all went well. However this morning I was told server alerts were going off since they could no longer get a ping response from the server. I logged into the admin user of the CLI and I can see where ICMP type 8 is allowed on the firewall of the C-SPC.
Does anyone else have this issue? We have stopped ping checks for now, but would like to resume so we can ensure our inventory is happening regularly.
Solved! Go to Solution.
02-13-2019 12:36 PM
It looks like iptables is being overwritten and the icmp permit rule is not there anymore after upgrade. This looks like a bug but for now instead of disabling iptables you can run "iptables -L --line-numbers" to get the numbered rules and in the INPUT chain add the icmp permit with "iptables -I INPUT 13 --match icmp --protocol icmp --icmp-type any --jump ACCEPT" where 13 is the line number at the end of INPUT chain. If there is a LOG_DROP entry at the end of the input chain, change the number to whatever line is 1 above it.
Thanks,
Brandon
02-07-2019 12:04 PM
Is it still not replying to ping requests? I checked and it looks like your collector has uploaded multiple times today so it seems to have at least upgraded properly. It would make sense to lose pings for a while while the CSPC rebooted, which can sometimes take a while.
On a side note, it looks like you are getting uploads silenced due to them coming in so frequently. I would check the configuration to prevent this from happening.
Thank you,
Brandon
02-07-2019 01:13 PM
They have not worked all day. We had to silence it in our monitoring system.
How often should it upload?
02-07-2019 02:12 PM
02-11-2019 07:10 AM
I have the same issue. Version 2.8.1 installed on Saturday morning, and my monitoring system has been unable to ping since the upgrade. I am able to log into the web interface, and my Sunday morning collection and upload job ran without issue. Did a firewall get enabled during the upgrade?
02-11-2019 07:32 AM
@mdsmith200 wrote:
I have the same issue. Version 2.8.1 installed on Saturday morning, and my monitoring system has been unable to ping since the upgrade. I am able to log into the web interface, and my Sunday morning collection and upload job ran without issue. Did a firewall get enabled during the upgrade?
From what I could see, the firewall was allowing ICMP, but nothing was responding. Not sure if there is another layer of firewall I am not seeing. Either way, we still cannot ping our C-SPC, but its up and working.
02-11-2019 08:47 AM
We've upgraded some collectors internally and don't have the ping issue. What monitoring system are you pinging from? Are you able to ping it from your workstation? Are you able to ping out from the collector itself?
02-11-2019 09:12 AM
Can you login to CLI as root user and temporarily disable iptables to see if you can ping?
service iptables stop
02-11-2019 11:21 AM
My CSPC server just upgraded to version 2.8.1 this morning and the server stopped replying to pings after the reboot. I am able to get access to the server via SSH and https but cannot ping.
The suggestion brawall was dead on. Shutting down iptables did workaround the issue, I am able to ping with iptables stopped. I hope there is a version 2.8.2 out soon to fix this issue or a quick fix I can apply.
02-11-2019 11:32 AM
Can you please PM me the output of "iptables -L" as root user?
Thank you,
Brandon
02-13-2019 12:36 PM
It looks like iptables is being overwritten and the icmp permit rule is not there anymore after upgrade. This looks like a bug but for now instead of disabling iptables you can run "iptables -L --line-numbers" to get the numbered rules and in the INPUT chain add the icmp permit with "iptables -I INPUT 13 --match icmp --protocol icmp --icmp-type any --jump ACCEPT" where 13 is the line number at the end of INPUT chain. If there is a LOG_DROP entry at the end of the input chain, change the number to whatever line is 1 above it.
Thanks,
Brandon
02-13-2019 12:46 PM - edited 02-13-2019 01:03 PM
Thanks for the reply. Working on changing this now.
02-13-2019 01:25 PM
03-05-2019 01:48 PM
Adding the ICMP to the IPTABLEs worked for me, But, after a restart of the collector, the ping issues came back. The IPTABLES ICMP entry had to be re-added. How do I make it stick?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide