plugin to monitor palo-alto and f5 switches
plugin to monitor palo-alto and f5 switches
is there a plugin to monitor palo-alto and f5 routers and switches, i just need uptime, cpu and memory.
Re: plugin to monitor palo-alto and f5 switches
There is no wizard, written specifically for these devices but you could try using the "Network Switch / Router", SNMP and/or SNMP Walk monitoring wizard. You could also try using some 3rd party plugins - not sure which one would do the job for you, but here's some that I found:
https://exchange.nagios.org/directory/P ... rk-Gear/F5
https://github.com/ralph-hm/nagios_check_paloalto
https://github.com/ranl/monitor-utils/b ... to-A500.pl
Once you find a plugin that works for you, you could add a check to XI. For more information on how to do this, please review the document below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://exchange.nagios.org/directory/P ... rk-Gear/F5
https://github.com/ralph-hm/nagios_check_paloalto
https://github.com/ranl/monitor-utils/b ... to-A500.pl
Once you find a plugin that works for you, you could add a check to XI. For more information on how to do this, please review the document below:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: plugin to monitor palo-alto and f5 switches
thank you for your reply, i found this plugin (https://exchange.nagios.org/components/ ... 7&cf_id=24) from one of the nagios exchange website you mentioned above and i was able to download one and try to test it on my server but i still get errors, the script does not really explain how to run the plugin so il just show you how i ran it and the errors am getting.
libexec]# perl check_f5_mem.pl tpclow-f5-01 '!plut0' 5 6 5 6
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line
libexec]# perl check_f5_mem.pl tpclow-f5-01 '!plut0' 5 6 5 6
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line 72.
Argument "noSuchObject" isn't numeric in subtraction (-) at check_f5_mem.pl line
Re: plugin to monitor palo-alto and f5 switches
This is a 3rd party plugin. We are not familiar with it, and we haven't tested it. Unfortunately, we don't have the hardware to test it. I assume that your device have different OIDs than the ones, used in the plugin. I can see this section of code:
You could try running snmpwalk against your device to see if you have these OIDs. You may need to customize the plugin in order for it to work with your hardware.
Code: Select all
my $tmmTotalCyl = '.1.3.6.1.4.1.3375.2.1.1.2.1.41.0';
my $tmmIdleCyl = '.1.3.6.1.4.1.3375.2.1.1.2.1.42.0';
my $tmmSleepCyl = '.1.3.6.1.4.1.3375.2.1.1.2.1.43.0';
my $sysStatMemoryTotal='.1.3.6.1.4.1.3375.2.1.1.2.1.44.0';
my $sysStatMemoryUsed='.1.3.6.1.4.1.3375.2.1.1.2.1.45.0';Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: plugin to monitor palo-alto and f5 switches
so which one exactly do you guys support so i can use? cuz using the switch/network wizard all return unknown status'
Re: plugin to monitor palo-alto and f5 switches
I don't think our Switch wizard would monitor load balancers... Can you run the following commands:
substituting <community> and <ip address> with actual values?
Once you are done, upload the walk1 and walk2 files that were generated in the /tmp directory by running the above commands.
Code: Select all
snmpwalk -v 2c -c <community> <ip address> > /tmp/walk1
snmpwalk -v 2c -c <community> <ip address> -On > /tmp/walk2Once you are done, upload the walk1 and walk2 files that were generated in the /tmp directory by running the above commands.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: plugin to monitor palo-alto and f5 switches
please see attachment of files from the commands you requested
You do not have the required permissions to view the files attached to this post.
Re: plugin to monitor palo-alto and f5 switches
I don't find any references of CPU or Memory in walk1 file. You can only monitor items that have been enabled on the switch and the ones that you have access to. Are you sure that you have a permission to walk the whole tree?
I didn't find any of the OIDs (from the plugin) in the two files that you provided. I would recommend that you review the documentation for your Cisco switch (or contact the manufacturer), and find what are the OIDs that you need to use in order to obtain the CPU and Memory info. Then, you could use the "SNMP Walk" wizard that ships with Nagios XI in order to add your checks.
I didn't find any of the OIDs (from the plugin) in the two files that you provided. I would recommend that you review the documentation for your Cisco switch (or contact the manufacturer), and find what are the OIDs that you need to use in order to obtain the CPU and Memory info. Then, you could use the "SNMP Walk" wizard that ships with Nagios XI in order to add your checks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: plugin to monitor palo-alto and f5 switches
okay, thanks i will do that, what about palo -alto, should i run thesame commands and send you the file to check if there is a plugin i can use?
Re: plugin to monitor palo-alto and f5 switches
You can try running the snmpwalk and grepping for cpu and memory, e.g.
Have you tried any of the 3rd party plugins on the Nagios Exchange? You may not need to use a 3rd party plugin if you knew the OIDs for obtaining the CPU and Memory info. Again, the documentation for the device and/or contacting the manufacture is the best way to go about it. Once you know the OIDs, use the SNMP Walk wizard.
Code: Select all
snmpwalk -v 2c -c <community> <ip address> | grep -i 'cpu\|memory' | grep -v grepBe sure to check out our Knowledgebase for helpful articles and solutions!