[Nagiosplug-help] Any experience with check_cisco_ping?

jay alvarez nagi0sb0y at yahoo.com
Thu Sep 21 08:54:00 CEST 2006


Hi,

We have several routers with mpls networks connected
to it. This networks have routers which are not
reacheable by nagios host so we have to have some sort
of checking using check_cisco_ping
(http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=243)


I have downloaded and installed the required modules:
TermReadkey
Net-Telnet-Cisco
Spread-Message

However, running the program manually.. 'perl
check_cisco_ping'
gives me:

Can't locate utils.pm in @INC (@INC contains: utils.pm
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach
/usr/local/lib/perl5/5.8.8 .) at check_cisco_ping line
32.
BEGIN failed--compilation aborted at check_cisco_ping
line 32.

I'm not sure where to get this utils.pm... When I look
for it in cpan, the search brought me to
Spread-Message.. The source of the utils.pm module is
in fact Utils.pm... If I rename it into utils.pm, put
it inside a directory "utils.pm"... running the
check_cisco_ping now gives me:


Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 45.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 81.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 84.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 89.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 95.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 101.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 108.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 115.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 120.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 134.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 154.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 165.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 231.
Global symbol "%ERRORS" requires explicit package name
at check_cisco_ping line 283.
Execution of check_cisco_ping aborted due to
compilation errors.

Now, I'm lost...
Do you have any experience with this plugin?
Do you have any other suggestion aside from using this
plugin?


The network looks like this

Internet ------>Router2(juniper)\
          \                      \--- MPLS 1
           \                    /---- MPLS 2
            \-->Router1(cisco)/

When packets from Internet is sent to MPLS network via
Cisco router, we can inject them to these private MPLS
networks, however, were having hard time injecting it
via the Juniper router. That's why, since mpls routers
are reacheable via cisco router, a quick solution I
was thinking of is using check_cisco_ping.. However, I
can't make it to work..


Any idea how to inject traffic originating from the
Internet into a private mpls network using Juniper
router? 

Your help will be very much appreciated.. thanks!

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the Help mailing list