I want/must Monitor our etc\motd from different Servers. The Problem is, this Server dont have a samba running. With the old nagios System ist going with the nrpe. Is there any idea Change to Monitor this with PRTG?
Article Comments
sorry for the late replay. We become in the motd differently logs of the database usage, tablte sizes and System health. So i want to Monitor the Content of the motd.
Mar, 2016 - Permalink
Hi Miethana
Yes, but what do you want to monitor exactly. I mean it's easy possible to check if something has changed, but you have to use a bash script for this as well.
Wouldn't it be easier to just create multiple ssh scripts and then check e.g. database usage, get a returnvalue and compare that with a value in PRTG? motd is usually just pure text, and extract the needed info from it is hard to achieve.
Explain more detailed what you want to know from your linuxmachine and I may can help you create a script which returns the values you need.
regards Thomas
Mar, 2016 - Permalink
Hi Miethana
Hmm. What do you want to monitor exactly? I think the ssh sensor would be the right thing for you
https://www.paessler.com/manuals/prtg/ssh_script_sensor and https://helpdesk.paessler.com/en/support/solutions/articles/76000063557-is-there-a-shell-script-example-for-prtg-s-ssh-script-sensor
regards Thomas
Mar, 2016 - Permalink