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
cluster shared volumes monitor
Re: cluster shared volumes monitor
Can you please post screenshots of the behavior you're witnessing?
Former Nagios Employee.
me.
me.
Re: cluster shared volumes monitor
Hi thank you for the reply. i have attached the screenshot
regards
pantos
regards
pantos
You do not have the required permissions to view the files attached to this post.
Re: cluster shared volumes monitor
Can you post the service definition for us to look at?
Former Nagios Employee
Re: cluster shared volumes monitor
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
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.
Re: cluster shared volumes monitor
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
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
Re: cluster shared volumes monitor
Try changing your nsclient.ini definition to:
Restart the NSClient++ service and try it again.
Thank you
Code: Select all
check_pstate = cmd /c echo scripts\check_csv_freespace.ps1 -n $ARG1$ -w $ARG2$ -c $ARG3$; exit($lastexitcode) | powershell.exe -command -Thank you
Re: cluster shared volumes monitor
Hi ssax,
You are the man, thank you very much man it worked.
regards
pantos
You are the man, thank you very much man it worked.
regards
pantos