Comments (3)
Hi @GalipoliX ,
first of all, are you sure that you want to monitor rescpuusagepcnt
? It represents the avarage cpu usage.
I never used rescpuusagepcnt
, but i have the same behaviour on my VPX. So maybe this is a bug in the current firmware.
./check_netscaler.pl -H 10.0.0.240 -p supersecurepassword -C above -o system -n cpuusagepcnt,mgmtcpuusagepcnt -w 75 -c 80 -vvv | grep cpu
[extra-opts] check_netscaler -H 10.0.0.240 -p supersecurepassword -C above -o system -n cpuusagepcnt,mgmtcpuusagepcnt -w 75 -c 80 -vvv
$VAR1 = '{ "errorcode": 0, "message": "Done", "severity": "NONE", "system": { "voltagev12n": 0.000000, "voltagev5n": 0.000000, "cpuusage": "1", "rescpuusage": "4294967295", "slavecpuusage": "4294967295", "mastercpuusage": "4294967295", "auxvolt7": 0.000000, "auxvolt6": 0.000000, "auxvolt5": 0.000000, "auxvolt4": 0.000000, "auxvolt3": 0.000000, "auxvolt2": 0.000000, "auxvolt1": 0.000000, "auxvolt0": 0.000000, "voltagevsen2": 0.000000, "voltagev5sb": 0.000000, "voltagevtt": 0.000000, "voltagevbat": 0.000000, "voltagev12p": 0.000000, "voltagev5p": 0.000000, "voltagev33stby": 0.000000, "voltagev33main": 0.000000, "voltagevcc1": 0.000000, "voltagevcc0": 0.000000, "numcpus": "1", "memusagepcnt": 31.591588, "memuseinmb": "342", "addimgmtcpuusagepcnt": 0.000000, "mgmtcpu0usagepcnt": 0.700000, "mgmtcpuusagepcnt": 0.700000, "pktcpuusagepcnt": 1.200000, "cpuusagepcnt": 1.200000, "rescpuusagepcnt": 4294967295.000000, "starttimelocal": "Thu Jul 29 21:46:31 2021", "starttime": "Thu Jul 29 19:46:31 2021", "disk0perusage": 50, "disk1perusage": 43, "cpufan0speed": 0, "cpufan1speed": 0, "systemfanspeed": 0, "fan0speed": 0, "fanspeed": 0, "cpu0temp": 0, "cpu1temp": 0, "internaltemp": 0, "powersupply1status": "NOT SUPPORTED", "powersupply2status": "NOT SUPPORTED", "powersupply3status": "NOT SUPPORTED", "powersupply4status": "NOT SUPPORTED", "disk0size": 1585, "disk0used": 743, "disk0avail": 715, "disk1size": 14179, "disk1used": 5696, "disk1avail": 7348, "fan2speed": 0, "fan3speed": 0, "fan4speed": 0, "fan5speed": 0, "auxtemp0": 0, "auxtemp1": 0, "auxtemp2": 0, "auxtemp3": 0, "timesincestart": "00:00:00", "memsizemb": "0" } }';
'rescpuusage' => '4294967295',
'cpufan1speed' => 0,
'numcpus' => '1',
'slavecpuusage' => '4294967295',
'addimgmtcpuusagepcnt' => '0',
'mastercpuusage' => '4294967295',
'cpu0temp' => 0,
'pktcpuusagepcnt' => '1.2',
'cpuusagepcnt' => '1.2',
'cpufan0speed' => 0,
'cpu1temp' => 0,
'mgmtcpu0usagepcnt' => '0.7',
'cpuusage' => '1',
'rescpuusagepcnt' => '4294967295',
'mgmtcpuusagepcnt' => '0.7'
NetScaler OK - above: system.cpuusagepcnt: 1.2; system.mgmtcpuusagepcnt: 0.7 | 'system.cpuusagepcnt'=1.2;75;80 'system.mgmtcpuusagepcnt'=0.7;75;80
> sh version
NetScaler NS13.0: Build 82.45.nc, Date: Jul 16 2021, 09:58:49 (64-bit)
from check_netscaler.
I opened a support ticket at Citrix.
This is the answer:
"This is actually a known issue that still under review. unfortunately I can not share the bug ID as this is for internal use only.
Also, I don't have information on a workaround or date for the next firmware release. "
from check_netscaler.
Thanks for sharing!
The last time i filled a bug for the Citrix ADC (critical bug in the NTLM implementation which caused a crash/service restart!) it took about 12+ months until the fix was available in a new firmware release. Don't expect a quick solution here.
If you want to have more options for alerting and analyzing the metrics i would suggest to have a look at the Citrix ADC Exporter for Prometheus. This one uses the NITRO API, but then you could calculate average metrics by your own.
https://github.com/citrix/citrix-adc-metrics-exporter
from check_netscaler.
Related Issues (20)
- SDX Support HOT 1
- NetScaler UNKNOWN - 501 Protocol scheme 'proxyname' is not supported HOT 2
- Check that ACLs are Enabled HOT 2
- NTP Check shows perl warnings Use of uninitialized value HOT 1
- Alive? 12.1: Build 51.19 ? HOT 4
- Partition support HOT 10
- incorrect CRITICAL alert assignment HOT 1
- Linting in Travis CI pipeline (perltidy) HOT 1
- invalid perfdata values HOT 12
- interface support HOT 2
- Delete me
- Expanded and extended options for sslcert HOT 1
- Icinga2 issue with performance data HOT 1
- Interface perf data HOT 13
- Invalid comparison in ntp check
- NetScaler CRITICAL - state: no VPNvServer found in configuration HOT 2
- check_ntp_time: NTP CRITICAL: Offset unknown #329 HOT 1
- Check the expiry date of a local license file HOT 2
- Get particular information of hwinfo (like: nsversion or hwdescription) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check_netscaler.