Os Checks Works For 5 Mins Then Stops

by Sep 25, 2014

Hi All,

I just installed MONyog for evaluation to purchase and i have an interesting issue.

Im monitoring 2 servers and for some reason the OS checks (CPU. MEM ,IO etc ) works when the MONyog service starts but around 5 to 10 mins later the Linux OS monitors go red.

 

I created a custom user on the monitored servers with the recommended group memberships , it works but after 5 to 10 mins the monitor goes red.

For shits and giggles i updated the server setups in MONyog to use root to collect the OS data. Restarted the service and the monitors ran again for 5 to 10 mins and went red again 🙁

 

I checked my settings in the SSHD_CONFIG of my monitored servers and root login in allowed and there is no session timeout set.

 

Here is my log:

[6.1] [2014-09-25 14:16:45] [Server: someservername] src/ysshchannel.cpp(59) ErrCode:-2 ErrMsg:SshChannelOpen: Channel start error — Connection closed by remote host

[6.1] [2014-09-25 14:16:45] [Server: someservername] src/ysshchannel.cpp(76) ErrCode:-2 ErrMsg:ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:16:45] [Server: someservername] populatesystem.cpp(297) ErrCode:-1 ErrMsg:GetUnixTimeStamp: ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:16:45] [Server: someservername] src/ysftp.cpp(163) ErrCode:-2 ErrMsg:SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:16:45] [Server: someservername] populatesystem.cpp(535) ErrCode:-1 ErrMsg:GetFileFromProc: SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:17:26] [Server: someOTHERservername] src/ysshchannel.cpp(59) ErrCode:-2 ErrMsg:SshChannelOpen: Channel start error — Connection closed by remote host

[6.1] [2014-09-25 14:17:26] [Server: someOTHERservername] src/ysshchannel.cpp(76) ErrCode:-2 ErrMsg:ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:17:26] [Server: someOTHERservername] populatesystem.cpp(297) ErrCode:-1 ErrMsg:GetUnixTimeStamp: ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:17:26] [Server: someOTHERservername] src/ysftp.cpp(163) ErrCode:-2 ErrMsg:SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:17:26] [Server: someOTHERservername] populatesystem.cpp(535) ErrCode:-1 ErrMsg:GetFileFromProc: SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:21:46] [Server: someservername] src/ysshchannel.cpp(59) ErrCode:-2 ErrMsg:SshChannelOpen: Channel start error — Connection closed by remote host

[6.1] [2014-09-25 14:21:46] [Server: someservername] src/ysshchannel.cpp(76) ErrCode:-2 ErrMsg:ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:21:46] [Server: someservername] populatesystem.cpp(297) ErrCode:-1 ErrMsg:GetUnixTimeStamp: ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:21:46] [Server: someservername] src/ysftp.cpp(163) ErrCode:-2 ErrMsg:SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:21:46] [Server: someservername] populatesystem.cpp(535) ErrCode:-1 ErrMsg:GetFileFromProc: SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:22:27] [Server: someOTHERservername] src/ysshchannel.cpp(59) ErrCode:-2 ErrMsg:SshChannelOpen: Channel start error — Connection closed by remote host

[6.1] [2014-09-25 14:22:27] [Server: someOTHERservername] src/ysshchannel.cpp(76) ErrCode:-2 ErrMsg:ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:22:27] [Server: someOTHERservername] populatesystem.cpp(297) ErrCode:-1 ErrMsg:GetUnixTimeStamp: ChannelRequestExec: SSH channel not initialized

[6.1] [2014-09-25 14:22:27] [Server: someOTHERservername] src/ysftp.cpp(163) ErrCode:-2 ErrMsg:SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

[6.1] [2014-09-25 14:22:27] [Server: someOTHERservername] populatesystem.cpp(535) ErrCode:-1 ErrMsg:GetFileFromProc: SftpFileOpen: Could not open file '/proc/vmstat' in '0' access mode: Connection closed by remote host

 

Im also double checked that my firewalls are disabled on all servers in this equation. 

 

The MONyog server and the 2 monitored servers are all Centos7.

 

Your help would be greatly appreciated.