CPU load monitoring
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
CPU load monitoring
Hello Team,
We want to monitor CPU load for ISE servers and Barracuda web filters.
Could you please provide specific plugins for them?
Thanks in advance!!
We want to monitor CPU load for ISE servers and Barracuda web filters.
Could you please provide specific plugins for them?
Thanks in advance!!
Re: CPU load monitoring
See here for ISE:
https://labs.consol.de/nagios/check_nwc ... index.html
https://support.nagios.com/forum/viewto ... 16&t=58246
I think this will also work for the Barracuda:
https://labs.consol.de/nagios/check_nwc ... index.html
See here for some more Barracuda plugins:
https://exchange.nagios.org/directory/P ... /Barracuda
Let us know if you have any questions.
Thank you!
https://labs.consol.de/nagios/check_nwc ... index.html
https://support.nagios.com/forum/viewto ... 16&t=58246
I think this will also work for the Barracuda:
https://labs.consol.de/nagios/check_nwc ... index.html
See here for some more Barracuda plugins:
https://exchange.nagios.org/directory/P ... /Barracuda
Let us know if you have any questions.
Thank you!
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: CPU load monitoring
Hello,
Thanks for your help!!
That plugin is working fine for ISE servers.
For Baracudda, we are bale to fetch CPU load details, but when we cross verify it after logging into the device, the valur=e is not correct.
For eg: Nagios was showing 92% CPU load but actually it was just 42%.
Can you please help us to get the accurate values?
Thanks for your help!!
That plugin is working fine for ISE servers.
For Baracudda, we are bale to fetch CPU load details, but when we cross verify it after logging into the device, the valur=e is not correct.
For eg: Nagios was showing 92% CPU load but actually it was just 42%.
Can you please help us to get the accurate values?
Re: CPU load monitoring
Were you using the check_nwc_health one or a different plugin for the barracuda? (link us to the exact one you're using if it's not check_nwc_health)
Please re-run the command from the XI server and send us the full output.
Please re-run the command from the XI server and send us the full output.
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: CPU load monitoring
Hello,
We are using the standard check_nwc_health plugin only. Below is the command output for Baracuda 10.1.253.253.
I am attaching the screenshot of Baracuda dashboard here. If you see from screenshot, the system load is 6%. At the same time we checked from Nagios, it is giving system percent as 1.79%.
We are unable to understand why its giving different value?
[root@HO1-NAGIOSXI libexec]# ./check_nwc_health --hostname 10.1.253.253 --mode cpu-load --community mrtg#429monitor --verbose
OK - cpu (total): 21.98%, user: 1.59%, system: 1.79%, nice: 1.08%, wait: 17.52%, kernel: 0.00%, interrupt: 0.00%
checking cpus
cpu (total): 21.98%
user: 1.59%
system: 1.79%
nice: 1.08%
wait: 17.52%
kernel: 0.00%
interrupt: 0.00% | 'cpu_usage'=21.98%;50;90;0;100 'user_usage'=1.59%;50;90;0;100 'system_usage'=1.79%;50;90;0;100 'nice_usage'=1.08%;50;90;0;100 'wait_usage'=17.52%;50;90;0;100 'kernel_usage'=0%;50;90;0;100 'interrupt_usage'=0%;50;90;0;100
[root@HO1-NAGIOSXI libexec]#
We are using the standard check_nwc_health plugin only. Below is the command output for Baracuda 10.1.253.253.
I am attaching the screenshot of Baracuda dashboard here. If you see from screenshot, the system load is 6%. At the same time we checked from Nagios, it is giving system percent as 1.79%.
We are unable to understand why its giving different value?
[root@HO1-NAGIOSXI libexec]# ./check_nwc_health --hostname 10.1.253.253 --mode cpu-load --community mrtg#429monitor --verbose
OK - cpu (total): 21.98%, user: 1.59%, system: 1.79%, nice: 1.08%, wait: 17.52%, kernel: 0.00%, interrupt: 0.00%
checking cpus
cpu (total): 21.98%
user: 1.59%
system: 1.79%
nice: 1.08%
wait: 17.52%
kernel: 0.00%
interrupt: 0.00% | 'cpu_usage'=21.98%;50;90;0;100 'user_usage'=1.59%;50;90;0;100 'system_usage'=1.79%;50;90;0;100 'nice_usage'=1.08%;50;90;0;100 'wait_usage'=17.52%;50;90;0;100 'kernel_usage'=0%;50;90;0;100 'interrupt_usage'=0%;50;90;0;100
[root@HO1-NAGIOSXI libexec]#
You do not have the required permissions to view the files attached to this post.
Re: CPU load monitoring
More than likely the barricuda is doing this for their load calculation:
https://campus.barracuda.com/product/em ... +Firewall/
Based on the plugin it's likely just pulling the values that are returned to it by the remote device (and not doing the over time calculation), please send the output of these commands:
If those don't return anything, try these:
https://campus.barracuda.com/product/em ... +Firewall/
Based on the plugin it's likely just pulling the values that are returned to it by the remote device (and not doing the over time calculation), please send the output of these commands:
Code: Select all
snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.52
snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.51
snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.50
snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.53
Code: Select all
snmpwalk -Os -v1 -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.52
snmpwalk -Os -v1 -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.51
snmpwalk -Os -v1 -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.50
snmpwalk -Os -v1 -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.53
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: CPU load monitoring
Hello,
Below is the output:
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.52
ssCpuRawSystem.0 = Counter32: 3460490516
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.51
ssCpuRawNice.0 = Counter32: 230581704
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.50
ssCpuRawUser.0 = Counter32: 1600954475
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.53
ssCpuRawIdle.0 = Counter32: 201717206
[root@HO1-NAGIOSXI libexec]#
Below is the output:
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.52
ssCpuRawSystem.0 = Counter32: 3460490516
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.51
ssCpuRawNice.0 = Counter32: 230581704
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.50
ssCpuRawUser.0 = Counter32: 1600954475
[root@HO1-NAGIOSXI libexec]# snmpwalk -Os -v2c -c 'mrtg#429monitor' 10.1.253.253 1.3.6.1.4.1.2021.11.53
ssCpuRawIdle.0 = Counter32: 201717206
[root@HO1-NAGIOSXI libexec]#
Re: CPU load monitoring
What is the full output of this command?
Looking at the code it looks like it's using this for calculations which seems to do the delta changes:
https://github.com/lausser/check_nwc_he ... bsystem.pm
Code: Select all
/usr/local/nagios/libexec/check_nwc_health -t 120 -vv --mode cpu-load --hostname 10.1.253.253 --community 'mrtg#429monitor'
https://github.com/lausser/check_nwc_he ... bsystem.pm
-
- Posts: 246
- Joined: Fri Jul 03, 2020 4:18 am
Re: CPU load monitoring
Hello,
Below is the output:
[root@HO1-NAGIOSXI ~]# /usr/local/nagios/libexec/check_nwc_health -t 120 -vv --mode cpu-load --hostname 10.1.253.253 --community 'mrtg#429monitor'
[CPUSUBSYSTEM]
cpu_usage: 8.81726327767329
delta_ssCpuRawIdle: 445538
delta_ssCpuRawInterrupt: 0
delta_ssCpuRawKernel: 0
delta_ssCpuRawNice: 5842
delta_ssCpuRawSystem: 3966
delta_ssCpuRawUser: 8561
delta_ssCpuRawWait: 24714
delta_timestamp: 613
interrupt_usage: 0
kernel_usage: 0
nice_usage: 1.19560968521615
ssCpuIdle: 92
ssCpuRawIdle: 241691794
ssCpuRawIdle_per_sec: 726.815660685155
ssCpuRawInterrupt: 0
ssCpuRawInterrupt_per_sec: 0
ssCpuRawKernel: 0
ssCpuRawKernel_per_sec: 0
ssCpuRawNice: 231237973
ssCpuRawNice_per_sec: 9.53017944535073
ssCpuRawSystem: 3461155712
ssCpuRawSystem_per_sec: 6.46982055464927
ssCpuRawUser: 1601722899
ssCpuRawUser_per_sec: 13.9657422512235
ssCpuRawWait: 2835997100
ssCpuRawWait_per_sec: 40.3164763458401
ssCpuSystem: 0
ssCpuUser: 1
system_usage: 0.811672032106684
user_usage: 1.75207369310775
wait_usage: 5.05790786724271
info: interrupt: 0.00%
OK - cpu (total): 8.82%, user: 1.75%, system: 0.81%, nice: 1.20%, wait: 5.06%, kernel: 0.00%, interrupt: 0.00%
checking cpus
cpu (total): 8.82%
user: 1.75%
system: 0.81%
nice: 1.20%
wait: 5.06%
kernel: 0.00%
interrupt: 0.00% | 'cpu_usage'=8.82%;50;90;0;100 'user_usage'=1.75%;50;90;0;100 'system_usage'=0.81%;50;90;0;100 'nice_usage'=1.20%;50;90;0;100 'wait_usage'=5.06%;50;90;0;100 'kernel_usage'=0%;50;90;0;100 'interrupt_usage'=0%;50;90;0;100
[root@HO1-NAGIOSXI ~]#
Below is the output:
[root@HO1-NAGIOSXI ~]# /usr/local/nagios/libexec/check_nwc_health -t 120 -vv --mode cpu-load --hostname 10.1.253.253 --community 'mrtg#429monitor'
[CPUSUBSYSTEM]
cpu_usage: 8.81726327767329
delta_ssCpuRawIdle: 445538
delta_ssCpuRawInterrupt: 0
delta_ssCpuRawKernel: 0
delta_ssCpuRawNice: 5842
delta_ssCpuRawSystem: 3966
delta_ssCpuRawUser: 8561
delta_ssCpuRawWait: 24714
delta_timestamp: 613
interrupt_usage: 0
kernel_usage: 0
nice_usage: 1.19560968521615
ssCpuIdle: 92
ssCpuRawIdle: 241691794
ssCpuRawIdle_per_sec: 726.815660685155
ssCpuRawInterrupt: 0
ssCpuRawInterrupt_per_sec: 0
ssCpuRawKernel: 0
ssCpuRawKernel_per_sec: 0
ssCpuRawNice: 231237973
ssCpuRawNice_per_sec: 9.53017944535073
ssCpuRawSystem: 3461155712
ssCpuRawSystem_per_sec: 6.46982055464927
ssCpuRawUser: 1601722899
ssCpuRawUser_per_sec: 13.9657422512235
ssCpuRawWait: 2835997100
ssCpuRawWait_per_sec: 40.3164763458401
ssCpuSystem: 0
ssCpuUser: 1
system_usage: 0.811672032106684
user_usage: 1.75207369310775
wait_usage: 5.05790786724271
info: interrupt: 0.00%
OK - cpu (total): 8.82%, user: 1.75%, system: 0.81%, nice: 1.20%, wait: 5.06%, kernel: 0.00%, interrupt: 0.00%
checking cpus
cpu (total): 8.82%
user: 1.75%
system: 0.81%
nice: 1.20%
wait: 5.06%
kernel: 0.00%
interrupt: 0.00% | 'cpu_usage'=8.82%;50;90;0;100 'user_usage'=1.75%;50;90;0;100 'system_usage'=0.81%;50;90;0;100 'nice_usage'=1.20%;50;90;0;100 'wait_usage'=5.06%;50;90;0;100 'kernel_usage'=0%;50;90;0;100 'interrupt_usage'=0%;50;90;0;100
[root@HO1-NAGIOSXI ~]#
Re: CPU load monitoring
I'm unable to see what the issues is with the plugin, since this is a 3rd party plugin please create a new issue here so that the developer of it can fix it:
https://github.com/lausser/check_nwc_health/issues
I took a look but I was unable to find where the bug is.
https://github.com/lausser/check_nwc_health/issues
I took a look but I was unable to find where the bug is.