Monitoring Webproxy Service and Location DB

Hello

I monitor my ipfire system via SSH using CheckMK.
Today I noticed that the web proxy service was not running and the location database was out of date.

https://community.ipfire.org/t/ubuntu-repo-not-accessible/11779/4

How can I monitor the status of the web proxy service?
Is there a process?

What about checking the location database and its up-to-dateness?

Thanks in advance
Paul

1 Like

With thanks and acknowledgment to @bonnietwin:
Just in case could you try to run location update
There has been an issue as per this post onwards.

To be precise:
How old was the database? IMO the update period is 1 week.
The problem was located in the location db file and/or the asnbl-helper program.
Most topics about this issue showed the stopping of squid, which can be seen in the WUI yet. The reason of the stopping could be seen in the logs.

To minimize the problem of faulty db files a shorter update period could be considered. But this demands konowledge about the error in the file and the error handling in the helper prog.

Yes there is a process. That is how the status of stopped or running is obtained in the Services menu.

The web proxy status can be found with the following command

/etc/rc.d/init.d/squid status

1 Like

The update period is 1 week from when fcron was started so different IPFire’s will update weekly but the specific date in the week will be different.

I think users need to be careful with this.

Every IPFire that is running 24/7 will get updated currently every week.

If that period is reduced then the load on the IPFire location database server would increase.

I would expect that to ensure the load on the server is not too excessive there will be code on the server to blacklist IP’s that try and access too frequently.

1 Like

I am now monitoring the Squid process and hope to be informed promptly if it stops again

1 Like