Hi Team,
We want to configure IO monitoring in Nagios xi for Windows servers. We have already installed NCPA agent on Windows servers and we are monitoring other OS related parameters.
Can you please help me with suitable plugin for IO monitoring.
IO monitoring in Nagios xi
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: IO monitoring in Nagios xi
I found these:
https://exchange.nagios.org/directory/P ... ad/details
https://exchange.nagios.org/directory/P ... at/details
NCPA can also monitor these physical disk values:
https://exchange.nagios.org/directory/P ... ad/details
https://exchange.nagios.org/directory/P ... at/details
NCPA can also monitor these physical disk values:
Code: Select all
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/read_time'
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/read_bytes'
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/write_count'
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/write_time'
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/write_bytes'
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/read_count'
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: IO monitoring in Nagios xi
Hello,
Thank you for reply!!
I am getting the output for PhysicalDrive0. So, similarly I can get the output for other drives too right?
Thank you for reply!!
I am getting the output for PhysicalDrive0. So, similarly I can get the output for other drives too right?
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: IO monitoring in Nagios xi
Hi,
Yes, assuming you have more than one drive.
Another way to know what physical disk you have is to run the below command on your xi prompt:
Regards,
Vinh
Yes, assuming you have more than one drive.
Another way to know what physical disk you have is to run the below command on your xi prompt:
Code: Select all
curl -k -v "https://x.x.x.x:5693/api/disk/physical/?token=<yourToken>"
Regards,
Vinh
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: IO monitoring in Nagios xi
Hello,
Thank you for your help!!
Its working as expected. Can you please let me know how to configure this in Nagios xi?
I am talking about service configuration.
Thank you for your help!!
Its working as expected. Can you please let me know how to configure this in Nagios xi?
I am talking about service configuration.
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: IO monitoring in Nagios xi
Hi,
Please follow this KB article below:
https://assets.nagios.com/downloads/nag ... gement.pdf
Regards,
Vinh
Please follow this KB article below:
https://assets.nagios.com/downloads/nag ... gement.pdf
Regards,
Vinh
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: IO monitoring in Nagios xi
Hello,
I am aware how to configure service in Nagios.
But this is a direct command with no plugins so I was confused like how to add it.
Can you guide me on the same please?
I am aware how to configure service in Nagios.
But this is a direct command with no plugins so I was confused like how to add it.
Can you guide me on the same please?
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: IO monitoring in Nagios xi
Hi,
What is your command and arguments?
I know you are using "check_napa.py".
Regards,
Vinh
What is your command and arguments?
I know you are using "check_napa.py".
Regards,
Vinh
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: IO monitoring in Nagios xi
Hello,
I wanted t use below as service in Nagios xi.
curl -k -v "https://x.x.x.x:5693/api/disk/physical/ ... <yourToken>"
I wanted t use below as service in Nagios xi.
curl -k -v "https://x.x.x.x:5693/api/disk/physical/ ... <yourToken>"
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: IO monitoring in Nagios xi
Hi,
It is best to use NCPA "check_ncpa.py" script.
The curl command I gave you just a quick way to check your system. It does not give you any option to check or return the status like "OK" or "Critical".
From the "curl" command, you can pass what you are looking for with the "-M" option (example below):
Regards,
Vinh
It is best to use NCPA "check_ncpa.py" script.
The curl command I gave you just a quick way to check your system. It does not give you any option to check or return the status like "OK" or "Critical".
From the "curl" command, you can pass what you are looking for with the "-M" option (example below):
Code: Select all
./check_ncpa.py -H localhost -t '<your token>' -M 'disk/physical/PhysicalDrive0/read_time'
Regards,
Vinh