lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
149 stars 88 forks source link

check_nwc_health plugin is showing different output values for Barracuda Webfilter #267

Open Chalhoub123 opened 3 years ago

Chalhoub123 commented 3 years ago

We are using the standard check_nwc_health plugin. Below is the command output for Baracuda 10.1.253.253.

The actual system load is 6% in Barracuda dashboard. 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 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

lausser commented 3 years ago

I have no idea. Check_nwc_health does nothing but to output the metrics it gets from the device via SNMP. So the discrepancy is between SNMP and Web UI.

Von: Chalhoub123 [mailto:notifications@github.com] Gesendet: Mittwoch, 30. Dezember 2020 07:02 An: lausser/check_nwc_health check_nwc_health@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Betreff: [lausser/check_nwc_health] check_nwc_health plugin is showing different output values for Barracuda Webfilter (#267)

We are using the standard check_nwc_health plugin. Below is the command output for Baracuda 10.1.253.253.

The actual system load is 6% in Barracuda dashboard. 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 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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/267 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AABQSOH3NU455NIPJN2IFYLSXK66JANCNFSM4VN7AH5Q .