Search found 16 matches

by gixxx11
Fri Apr 10, 2020 9:49 am
Forum: Nagios XI
Topic: Random error with check_mssql
Replies: 1
Views: 188

Random error with check_mssql

On occasion I get the following error when runing a mssql check: ERROR: In range threshold START:END, START must be less than or equal to END But 90% of the time I get the expect output of a 1 or 0. I'm not sure where to even begin on fixing this. /usr/local/nagios/libexec/check_mssql -H 192.168.#.#...
by gixxx11
Wed Jan 22, 2020 3:41 pm
Forum: Nagios XI
Topic: NCPA graph - turn into a check in Nagios XI
Replies: 3
Views: 216

Re: NCPA graph - turn into a check in Nagios XI

check_xi_ncpa!-t 'token' -P 5693 -M 'disk/logical/C:|ClusterStorage|Volume1|' -w 80 -c 90

Got the above working.
Thank you.
by gixxx11
Wed Jan 22, 2020 8:38 am
Forum: Nagios XI
Topic: NCPA graph - turn into a check in Nagios XI
Replies: 3
Views: 216

NCPA graph - turn into a check in Nagios XI

I've got some Hyper-V VM's on a couple of shared iSCSI volumes, I'm trying to figure out how to monitor the capacity of those volumes with Nagios. I've installed NCPA and can find the exact graph of what I want to monitor but I'm been unable to figure out how to turn that into a check. Here is a scr...
by gixxx11
Tue Aug 13, 2019 10:11 am
Forum: Nagios XI
Topic: Text message verifications never recieved
Replies: 5
Views: 573

Re: Text message verifications never recieved

I ended up configuring SMTP with google's unique app password and got what I needed to work working.

Thanks for your assistance.
by gixxx11
Thu Aug 08, 2019 10:28 am
Forum: Nagios XI
Topic: Text message verifications never recieved
Replies: 5
Views: 573

Re: Text message verifications never recieved

We are using Sendmail, which works for non-phone email addresses.

I tried configuring SMTP using google's smtp relay (smtp-relay.gmail.com) but can not get that to work at all.
by gixxx11
Fri Jul 19, 2019 7:45 am
Forum: Nagios XI
Topic: Text message verifications never recieved
Replies: 5
Views: 573

Text message verifications never recieved

No matter the provider, no one ever receives the verification key. Our Nagios installation has no issues sending regular emails, and I can manually send an email to (for example) %number%@txt.att.net and it's received just fine.
by gixxx11
Thu Mar 28, 2019 4:56 pm
Forum: Nagios XI
Topic: Event Handler problem
Replies: 9
Views: 250

Re: Event Handler problem

Perfection!

Thank you so very much. Everything is working like I want (for this one specific service at least). I tried critical and warning, both soft and hard and they all worked.

Thank you so very much!
by gixxx11
Thu Mar 28, 2019 4:34 pm
Forum: Nagios XI
Topic: Event Handler problem
Replies: 9
Views: 250

Re: Event Handler problem

Thanks for the head's up on the hostnames. After the permissions change I got this: /usr/local/nagios/libexec/event_handler_DisableLoadBalancer.sh: line 10: syntax error near unexpected token `)' /usr/local/nagios/libexec/event_handler_DisableLoadBalancer.sh: line 10: ` CRITICAL)' This is the curren...
by gixxx11
Thu Mar 28, 2019 4:19 pm
Forum: Nagios XI
Topic: Event Handler problem
Replies: 9
Views: 250

Re: Event Handler problem

The nagios log says: [1553807770] wproc: stderr line 01: execvp(/usr/local/nagios/libexec/event_handler_DisableLoadBalancer.sh, ...) failed. errno is 13: Permission denied When I manually run the command I get: -bash: /usr/local/nagios/libexec/event_handler_DisableLoadBalancer.sh: Permission denied ...
by gixxx11
Thu Mar 28, 2019 3:27 pm
Forum: Nagios XI
Topic: Event Handler problem
Replies: 9
Views: 250

Re: Event Handler problem

Ok so I used your suggesting and set the code to: $USER1$/event_handler_DisableLoadBalancer.sh $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ "$HOSTNAME$" And set the shell script to: #!/bin/sh # # Event handler script for DisableLoadBalancer # What state is the HTTP service in? host=$...