Page 1 of 1

run vmstat/iostat on remote server

Posted: Fri May 11, 2018 4:43 pm
by martin@boxit.net
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

Re: run vmstat/iostat on remote server

Posted: Mon May 14, 2018 2:51 pm
by cdienger
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