View Full Version : HP Procurve 5406 template anyone?
Anyone happen to have a template for monitoring and graphing an HP Procurve 5406 switch? One of the modules I have in this switch is an all gbic module so not sure if that matters.
Regards,
Elvar
There is already a template for HP procurve's switchs in Zabbix.
It's for a a 48 ports I think, but if you are at ease with template creation / edition, it shouldn't be long for you to have an effective switch monitoring ;)
Personnaly here's what I do when I want to monitor a specific device :
- is there already a template for what I'm looking for ?
- if so, I look at the monitored items and eventually edit the template so that only the corresponding items will be monitored
- if I have particular items to add, I just open solarWinds MIB browser / SNMPwalk and search for what I want to add :p
There is already a template for HP procurve's switchs in Zabbix.
It's for a a 48 ports I think, but if you are at ease with template creation / edition, it shouldn't be long for you to have an effective switch monitoring ;)
Personnaly here's what I do when I want to monitor a specific device :
- is there already a template for what I'm looking for ?
- if so, I look at the monitored items and eventually edit the template so that only the corresponding items will be monitored
- if I have particular items to add, I just open solarWinds MIB browser / SNMPwalk and search for what I want to add :p
Hi Cray, thanks for the response. I'm not yet nearly at ease with template creation, but I'm guessing that's the route I'll have to take. I was considering using Cacti for monitoring all switches and Zabbix for servers since it seems like it may be much easier getting switches monitored using Cacti. Hopefully I'll find a way to get switches up and running in Zabbix without the huge time investment.
Thanks!
It's not very difficult once you've understood how it works (after all, there's the word Simple in SNMP ;) )
Here are 2 screenshots from, respectively, OID view (wich I use along with other tools to view the OID / MIB trees) and from Zabbix itself.
http://www.image-load.eu/out.php/i158524_oidview1.PNG
http://www.image-load.eu/out.php/i158525_zabbixitems.PNG
here are the stages you have to get trough before getting a fully functionnal template for your Procurve :
- have a look at the existing HP Procurve template
- modify it (add / remove items) so that it suits you
-> to do so, you can use any SNMP walking / MIB browsing software (command line or graphical ones)
- add / clone graphs based on the items associated with the template
Voilą :)
troffasky
20-04-2009, 17:33
Use one of the template generators. Much easier than manually creating objects. I've used them successfully against several Procurves [fixed-configuration, not chassis-based, however].
Cray, thanks for the extra information, I'll check out that OIDView as well as it looks pretty nice.
Use one of the template generators. Much easier than manually creating objects. I've used them successfully against several Procurves [fixed-configuration, not chassis-based, however].
I've tried these actually and on multiple boxes I keep getting the same errors on each box shown below.
Can't locate Net/SNMP.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at ./switch-xml-ciscomod.pl line 4.
BEGIN failed--compilation aborted at ./switch-xml-ciscomod.pl line 4.
I have net-snmp installed on both the gentoo & ubuntu servers I'm testing on. The script also has the correct #!/usr/bin/perl as well.
Not sure what gives.
I've tried these actually and on multiple boxes I keep getting the same errors on each box shown below.
Can't locate Net/SNMP.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at ./switch-xml-ciscomod.pl line 4.
BEGIN failed--compilation aborted at ./switch-xml-ciscomod.pl line 4.
I have net-snmp installed on both the gentoo & ubuntu servers I'm testing on. The script also has the correct #!/usr/bin/perl as well.
Not sure what gives.
Thanks to a buddy who saw this post and helped me out, I just needed to install the net-snmp perl module.