Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree



byjpsantos, May 20, 2013
check_cisco_ifs - via SSH or Telnet
Hi all!

I'm running Fedora 17 and when I try to run this script it give me error on perl:

./check_cisco_ifs.pl r3602 GigabitEthernet4/16 user pass yes SSH debug
Attribute (transport) is required at /usr/lib/perl5/vendor_perl/Moose/Meta/Attribute.pm line 514
Moose::Meta::Attribute::initialize_instance_slot('Moose::Meta::Attribute=HASH(0xa34ebd0)', 'Moose::Meta::Instance=HASH(0xa34ebe0)', 'Net::Appliance::Session=HASH(0x98d8378)', 'HASH(0x98d8278)') called at /usr/lib/perl5/vendor_perl/Class/MOP/Class.pm line 525
Class::MOP::Class::_construct_instance('Moose::Meta::Class=HASH(0x9eab6a0)', 'HASH(0x98d8278)') called at /usr/lib/perl5/vendor_perl/Class/MOP/Class.pm line 498
Class::MOP::Class::new_object('Moose::Meta::Class=HASH(0x9eab6a0)', 'HASH(0x98d8278)') called at /usr/lib/perl5/vendor_perl/Moose/Meta/Class.pm line 274
Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x9eab6a0)', 'HASH(0x98d8278)') called at /usr/lib/perl5/vendor_perl/Moose/Object.pm line 28
Moose::Object::new('Net::Appliance::Session', 'Host', 'r3602', 'Transport', 'SSH') called at CiscoIOS.pm line 29
CiscoIOS::ios_connect('r3602', 'user', 'pass', 'yes', 'SSH', undef) called at ./check_cisco_ifs.pl line 63

Do you know any workaround for this?

Owner's reply

Hello João,

As per our mail correspondances, I just uploaded a new version of CiscoIOS.pm, please use this one.