Page 1 of 2

Performance parameters for f5/firewall/load balancers

Posted: Tue Jun 11, 2019 12:42 am
by sajid4u2c
Hi All,

Could you please suggest a SNMP based NagiosXI plugin for monitoring the security devices f5/firewall/load balancers .

I have the below details of the SNMP .

SNMP v3 Username
Authentication Password
Privileged Password
Authentication Protocol
Privileged Protocol

Parmaters to be monitored : Memory, cpu, disk etc

Nagios monitor: 5.5.2

Thanks.

Re: Performance parameters for f5/firewall/load balancers

Posted: Tue Jun 11, 2019 2:56 pm
by cdienger

Re: Performance parameters for f5/firewall/load balancers

Posted: Tue Jun 11, 2019 8:32 pm
by sajid4u2c
Thanks for the link.

Have followed the instructions and installed the plugin.
However, when i run it , I am getting the below PERL module error.

Code: Select all

 ./check_nwc_health --help
Can't locate Module/Load.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ./check_nwc_health line 2747. 
I think some dependency package of perl is required. Can I go ahead and install (how?) ? Will that hamper the existing Nagios monitoring?
I am worried as I have no test lab and trying out this in PROD nagios server.

Regards.

Re: Performance parameters for f5/firewall/load balancers

Posted: Wed Jun 12, 2019 2:40 pm
by lmiltchev
Try installing the missing perl module by running:

Code: Select all

yum install perl-Module-Load
Let us know if this helped.

Re: Performance parameters for f5/firewall/load balancers

Posted: Mon Jun 17, 2019 1:54 am
by sajid4u2c
Hi,

Yum in not configured in the nagios server.
Can I please get the link to the RPM please.

Regards,

Re: Performance parameters for f5/firewall/load balancers

Posted: Mon Jun 17, 2019 8:31 am
by scottwilkerson
What operating system and version are you running?

Or you could compile it from here
https://metacpan.org/pod/Module::Load

Re: Performance parameters for f5/firewall/load balancers

Posted: Tue Jun 18, 2019 8:55 pm
by sajid4u2c
Hi,

we are using : CentOS Linux release 7.5.1804 (Core)

We need to write script for compiling this load.pm ? or just need copy the files. Please suggest.

Re: Performance parameters for f5/firewall/load balancers

Posted: Wed Jun 19, 2019 6:55 am
by scottwilkerson
Yo would need to download the tarball then run

Code: Select all

   tar xzf Module-Load-0.34.tar.gz
   cd Module-Load-0.34
   perl Makefile.PL
   make
   make test
   make install

Re: Performance parameters for f5/firewall/load balancers

Posted: Thu Jun 20, 2019 1:47 am
by sajid4u2c
Thanks :)
Installation done.

I have tested the below command from nagios terminal for checking the load and getting the error as stated below.
Could you please let me know, if I am missing anything in the arguments.

Code: Select all

/usr/local/nagios/libexec/check_nwc_health -v --mode cpu-load --domain tcp --hostname host  --port 161  --username user --authpassword authpswd --authprotocol sha --privpassword authpswd  --privprotocol aes

CRITICAL - cannot create session object: Unable to resolve the TCP/IPv4 address "AUM1FWL-PRI001"

Regards,

Re: Performance parameters for f5/firewall/load balancers

Posted: Thu Jun 20, 2019 3:22 am
by sajid4u2c
Sorry for the above post. I have replaced the hostname with IP address and its working now

Thanks for the help and support.

sample output:

Code: Select all

OK - memory 20 (Slot-0 Management Memory) usage is 68.61%
checking storagesram
memory 20 (Slot-0 Management Memory) usage is 68.61% | 'memory_Slot-0 Management Memory_usage'=68.61%;90;95;0;100