disk alert modification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
sidsharma
Posts: 2
Joined: Tue Jul 18, 2023 5:19 am

disk alert modification

Post by sidsharma »

Hi All,

I am new and navie to Nagios (Nagios core 4.1.1).

I have set Nagios w/ NRPE and it is working fine.

However, the alerts and the service state information on nagios portal is something like below:

Status Information: DISK OK - free space: /home/ccc 131017 MB (27.45% inode=100%)

it shows 27.45% is the actual a free space e.g 131017 MB.

Is there a way, it would show the used space instead of free space. Since, i have to do the calculation 100 - 27 = 73% (used) in my mind whenever i get alerts.

Besides, I don't want inode details anywhere in the alerts as well as on the service state information.

Thanks
vappukuttan
Posts: 52
Joined: Tue Mar 05, 2019 7:43 am

Re: disk alert modification

Post by vappukuttan »

sidsharma
Posts: 2
Joined: Tue Jul 18, 2023 5:19 am

Re: disk alert modification

Post by sidsharma »

I appreciate it.

However, I am so sorry to inform you that the URL is just, how to setup disk_check alert.

I want to modify the output of the check_disk pluggin as I wrote down in my post.

Thanks
kg2857
Posts: 499
Joined: Wed Apr 12, 2023 5:48 pm

Re: disk alert modification

Post by kg2857 »

You're allowed to search the internet.
Run the plugin with the -h option and see what it says. If the -h doesn't help, look for more details info on the internet (github, etc.), look for another plugin, or write your own. This is pretty much the answer to all questions of this type.
Post Reply