forums › forums › Monyog › Using Monyog › Os Checks Works For 5 Mins Then Stops
- This topic is empty.
-
AuthorPosts
-
-
September 26, 2014 at 7:59 am #35051
sandhya.r
MemberHi,Can you please tell the value of “ClientAliveInterval” in “/etc/ssh/sshd_config”?Please try increasing the value of “ClientAliveInterval” parameter? the value is in seconds (and the default value is 0).The “ClientAliveInterval” value should be greater than the data collection interval of that server(Edit a server –> Advanced Settings –> Data collection interval).If your data collection is set to 5 minutes (i.e. 300 seconds) the “ClientAliveInterval” can be set to, say, 900 seconds. which is greater than data collection interval specified in MONyog.Also, you will need to set “KeepAlive” to yes. For the changes to be effective you will need to restart your sshd service.Let us know whether this resolves your problem.Thanks,SandhyaTeam MONyog -
September 26, 2014 at 8:29 am #35052
JohanLR
MemberHi Sandhya,
Thanks for the reply , my ClientAliveInterval was set to 15 but even after disabling it and restarting the SSHD the problem still persists. I changed the data collection interval to 3 mins and its still a problem . Changing the data collection interval to 30 secs seems to work fine but that is not practical.
Also , my environment is PCI-DSS certified so i can’t use KeepAlive. Oddly enough , 1 of the 3 mysql servers that im monitoring does not have this problem even though its SSHD_CONFIG is the same as the others.
Anything else i can take a look at ?
Regards,
Johan
-
September 26, 2014 at 11:26 am #35053
sandhya.r
MemberHi Johan,
ClientAliveInterval value is in seconds. If your data collection interval is 3 minutes, we recommend you to set “ClientAliveInterval” as 300 seconds(which is > 3minutes).
Thanks,
Sandhya.
-
September 26, 2014 at 11:28 am #35054
JohanLR
MemberThanks for the tip but i already tried that , its still happening even if i disable the ClientAliveInterval setting .
-
September 27, 2014 at 12:42 pm #35055
peterlaursen
ParticipantI think there may besome gateway/router setting on your server or network independent of SSHD settings interrupting inactive connections.
-
-
AuthorPosts
- You must be logged in to reply to this topic.