Problem with Task Monitor

Hello
I changed the ssh port to another one, after that the Task Monitor function stopped to display real time server status
any help please.?
Thank you

Change the SSH port back. There is no valid reason to move it. Anyone who claims it adds security is not someone who understands security.

2 Likes

Done I changed it back to 22 but the Task Monitor still not working :confused:

If you change ssh port, remember to execute this command (as root):
v-update-firewall

I disagree :stuck_out_tongue: I agree that changing ssh port is not more secure but this is one of the first things I do in a server to avoid thousands of connection tries in my logs and hundreds of banned ips. That’s my “valid” reason :wink:

That’s really strange, what is not updating? any graphic? only the ssh’s graphic?

Show the output of these commands (as root):

date ; ls -lrt /usr/local/hestia/web/rrd/la/
date ; ls -lrt /usr/local/hestia/web/rrd/ssh/
date ; ls -lrt /usr/local/hestia/web/rrd/
crontab -l -u admin
1 Like

root@cp:~# v-update-firewall

root@cp:~# date ; ls -lrt /usr/local/hestia/web/rrd/la/
Fri 22 Dec 2023 06:30:03 PM CET
total 156
-rw-r--r-- 1 root root 94816 Dec 21 23:00 la.rrd
-rw-r--r-- 1 root root 12062 Dec 21 23:00 daily-la.png
-rw-r--r-- 1 root root 15249 Dec 21 23:00 weekly-la.png
-rw-r--r-- 1 root root 13370 Dec 21 23:00 monthly-la.png
-rw-r--r-- 1 root root 14410 Dec 21 23:00 yearly-la.png
root@cp:~# date ; ls -lrt /usr/local/hestia/web/rrd/ssh/
Fri 22 Dec 2023 06:30:19 PM CET
total 104
-rw-r--r-- 1 root root 47992 Dec 21 23:00 ssh.rrd
-rw-r--r-- 1 root root 11224 Dec 21 23:00 daily-ssh.png
-rw-r--r-- 1 root root 14862 Dec 21 23:00 weekly-ssh.png
-rw-r--r-- 1 root root 10821 Dec 21 23:00 monthly-ssh.png
-rw-r--r-- 1 root root 12536 Dec 21 23:00 yearly-ssh.png
root@cp:~# date ; ls -lrt /usr/local/hestia/web/rrd/
Fri 22 Dec 2023 06:30:25 PM CET
total 32
drwxr-xr-x 2 root root 4096 Dec 15 20:37 la
drwxr-xr-x 2 root root 4096 Dec 15 20:37 net
drwxr-xr-x 2 root root 4096 Dec 15 20:37 mem
drwxr-xr-x 2 root root 4096 Dec 15 20:37 ssh
drwxr-xr-x 2 root root 4096 Dec 15 20:37 web
drwxr-xr-x 2 root root 4096 Dec 15 20:37 mail
drwxr-xr-x 2 root root 4096 Dec 15 20:37 ftp
drwxr-xr-x 2 root root 4096 Dec 15 20:37 db
root@cp:~# crontab -l -u admin
MAILTO=
CONTENT_TYPE="text/plain; charset=utf-8"
0 23 * * * sudo /usr/local/hestia/bin/v-update-sys-queue restart
0 23 */2 * * sudo /usr/local/hestia/bin/v-update-sys-queue daily
0 23 1-31/2 * * sudo /usr/local/hestia/bin/v-update-sys-queue disk
0 23 */2 * * sudo /usr/local/hestia/bin/v-update-sys-queue traffic
0 12 * * * sudo /usr/local/hestia/bin/v-update-sys-queue webstats
0 12 * * * sudo /usr/local/hestia/bin/v-update-sys-queue backup
0 23 * * * sudo /usr/local/hestia/bin/v-backup-users
0 12 */3 * * sudo /usr/local/hestia/bin/v-update-user-stats
0 23 */2 * * sudo /usr/local/hestia/bin/v-update-sys-rrd
0 12 9 2 * sudo /usr/local/hestia/bin/v-update-letsencrypt-ssl
0 23 */3 * * sudo /usr/local/hestia/bin/v-update-sys-hestia-all
root@cp:~#

Did you modify the cron job that updates stats? Because that is not the default that uses Hestia.

Because that means it will run at 23:00 on every 2nd day-of-month.

Default is to run every 5 minutes:

*/5 * * * * sudo /usr/local/hestia/bin/v-update-sys-rrd
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.