run vmstat/iostat on remote server

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

run vmstat/iostat on remote server

Postby martin@boxit.net » Fri May 11, 2018 4:43 pm

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
martin@boxit.net
 
Posts: 25
Joined: Mon Aug 21, 2017 4:53 pm

Re: run vmstat/iostat on remote server

Postby cdienger » Mon May 14, 2018 2:51 pm

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


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 25 guests