How can I check all mounted filesystems on a hosts with NCPA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
guglez
Posts: 3
Joined: Thu Jun 02, 2016 4:23 am

How can I check all mounted filesystems on a hosts with NCPA

Post by guglez »

How can I check all mounted filesystems on a hosts with NCPA agent installed? Can I do that with out any extra plugins on remote servers? We do not use wizzard since we automated ncpa installation via ansible.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: How can I check all mounted filesystems on a hosts with

Post by mcapra »

I don't think you can send wildcard queries to NCPA at the moment, but you can check individual mounts/disks. If you visit the following:

Code: Select all

https://<remote_host>:5693/api/disk?token=<your_ncpa_token>
It should list all the devices under the disk branch that were populated into NCPA. You'll probably want the mount or logical branch depending on how the devices were loaded into NCPA.
Former Nagios employee
https://www.mcapra.com/
Locked