cluster shared volumes monitor

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

cluster shared volumes monitor

Post by pantos21 »

Hi All,

I have follow this article here to monitor cluster shared volumes https://exchange.nagios.org/directory/P ... 1462974295
And everyhting worked as expected axcept one thing. So on nagios viewes i can see how mach space each volume has available. and when the precenteage goes more than 90% that i have set the threshold the status change to Warning, but when the percentage goes more than 95 that i have set the critical i can see that it says critical on status information but the status remain yellow and to warning. i searched everywhere but i couldnot find any solution so the status change to red and critical. Does anyone have any idea? Thanks in advanced

regards
pantos
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: cluster shared volumes monitor

Post by hsmith »

Can you please post screenshots of the behavior you're witnessing?
Former Nagios Employee.
me.
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: cluster shared volumes monitor

Post by pantos21 »

Hi thank you for the reply. i have attached the screenshot

regards
pantos
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: cluster shared volumes monitor

Post by rkennedy »

Can you post the service definition for us to look at?
Former Nagios Employee
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: cluster shared volumes monitor

Post by pantos21 »

Hi,
attached is screenshot for service i use, the power shell command you can find on the web site i post on my first post.

regards pantos
You do not have the required permissions to view the files attached to this post.
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: cluster shared volumes monitor

Post by pantos21 »

Hi,
On the server side in NSC.ini i have added the below line. You may need also. The "check_csv_freespace.ps1" powershell script you can download it from the site in my first post.
check_csv_freespace=cmd /c echo scripts\check_csv_freespace.ps1 -n $ARG1$ -w $ARG2$ -c $ARG3$ | powershell.exe -command -

regards
pantos
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: cluster shared volumes monitor

Post by ssax »

Try changing your nsclient.ini definition to:

Code: Select all

check_pstate = cmd /c echo scripts\check_csv_freespace.ps1 -n $ARG1$ -w $ARG2$ -c $ARG3$; exit($lastexitcode) | powershell.exe -command -
Restart the NSClient++ service and try it again.


Thank you
pantos21
Posts: 13
Joined: Mon May 16, 2016 7:47 am

Re: cluster shared volumes monitor

Post by pantos21 »

Hi ssax,

You are the man, thank you very much man it worked.
regards
pantos
Locked