Is there a way run run vmstat or something similar on a remote linux box (aws, azure or other branch office)
I found a couple cpu check and stats nagios plugins, but I am not sure how to check it on the remote server. Do I need snmp or the nrpe plugin installed on the remote server to call different stats?
Thanks
Best
Martin
run vmstat/iostat on remote server
Re: run vmstat/iostat on remote server
An agent could help with this, but if the remote system has ssh enabled I would opt for that instead and use the check_via_ssh plugin. https://assets.nagios.com/downloads/nag ... ng_SSH.pdf has some details - note it's for XI specifically, but much of it applies(generating a key and allowing the Nagios machine access) here as well. Plugins for iostat and vmstat can be found at:
https://exchange.nagios.org/index.php?o ... ord=iostat
https://exchange.nagios.org/index.php?o ... ord=vmstat
https://exchange.nagios.org/index.php?o ... ord=iostat
https://exchange.nagios.org/index.php?o ... ord=vmstat
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.