Check Citrix Netscaler Servicegroups

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
very_best
Posts: 12
Joined: Wed Feb 01, 2017 10:34 am

Check Citrix Netscaler Servicegroups

Post by very_best »

Hello!

I am using check_netscaler.pl for monitoring my Citrix-Netscaler.
It works fine, but I have problme with monitoring the servicegroups:

for example:
./sbgag_check_netscaler.pl -H <ip-address> --extra-opts=netscaler@<file for login> -s -C state -o servicegroup -n SVC_GRP_SMS-PASSCODE
NetScaler CRITICAL - servicegroup SVC_GRP_SMS-PASSCODE down; (0 up, 1 down, 0 oos, 0 unkown) | up=0;;;0; down=1;;;0; oos=0;;;0; unkown=0;;;0;

but the servicegroup is up.

this problem I have only with the checks of servicegroups.

does enyone have the same problem or can tell me what I can do?

rg
Hansi
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check Citrix Netscaler Servicegroups

Post by mcapra »

Can you share a copy of the sbgag_check_netscaler.pl plugin you are using?
Former Nagios employee
https://www.mcapra.com/
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check Citrix Netscaler Servicegroups

Post by rkennedy »

Are you referencing a nagios servicegroup, or is it a servicegroup within netscaler?
Former Nagios Employee
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check Citrix Netscaler Servicegroups

Post by mcapra »

Thanks @rkennedy!

@very_best let us know if you have additional questions.
Former Nagios employee
https://www.mcapra.com/
very_best
Posts: 12
Joined: Wed Feb 01, 2017 10:34 am

Re: Check Citrix Netscaler Servicegroups

Post by very_best »

Hello!

I was not in office last week.

I have uploaded the plugin. This is the original Plugin from https://github.com/slauger/check_netscaler.


@rkennedy: Yes this is a servicegroup in Netscaler

rg
Hansi
Attachments
sbgag_check_netscaler.pl
Netscaler Plugin
(17.24 KiB) Downloaded 436 times
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check Citrix Netscaler Servicegroups

Post by mcapra »

All this plugin really does is call the nitro API (http://<ip-address>/nitro/v1/) to pull a response from it. Does that API have some sort of front-end or GUI accessibility to ensure it's reporting correctly? This plugin is pretty simple and it doesn't look like it's doing anything wrong currently.
Former Nagios employee
https://www.mcapra.com/
Locked