run vmstat/iostat on remote server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
martin@boxit.net
Posts: 25
Joined: Mon Aug 21, 2017 4:53 pm

run vmstat/iostat on remote server

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: run vmstat/iostat on remote server

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked