checking BGP states on Cisco routers
Mike McClure
mmcclure at pneservices.com
Sat Sep 20 06:12:36 CEST 2003
Oops, sorry.
What happened to the "Simple" in SNMP? :)
> no no no....
>
> check_bgpstate use the Net::SNMP perl modules not the SNMP.pm module from
> Net-SNMP project.
>
> "perl -MCPAN -i net::SNMP"
>
> -sg
>
> On Thu, 18 Sep 2003, Mike McClure wrote:
>
>> SNMP.pm does not appear to be in the correct place. How did you install it?
>>
>> Anyway, this should fix your problem:
>>
>> cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>> mkdir Net
>> cd Net
>> ln -s ../SNMP.pm .
>>
>>
>> > Can anyone answer this? When I use the check_bgpstate.pl script I get the
>> > error below. Net-SNMP is installed and SNMP.pm is in
>> > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm.
>> >
>> > Do I need to modify the script in some way?
>> >
>> > TIA!
>> >
>> > ./check_bgpstate.pl x.x.x.x -c commnity
>> > Can't locate Net/SNMP.pm in @INC (@INC contains:
>> > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
>> > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>> > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
>> > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>> > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl
>> > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at
>> > ./check_bgpstate.pl line 30.
>> > BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30.
>> >
>> >
>> >
>> > On Thu, 18 Sep 2003, J.C. Hall wrote:
>> >
>> >> Thank you to those who responded. I admit I am a newbie :-( to this!
>> >>
>> >> I found check_bgpstate.pl in the contrib/ dir. My question now is must it
>> >> be compiled, or what do I do to integrate it with Nagios to my libexec/
>> > dir?
>> >> Is that a dumb question?
>> >
>> > It's a perl script.. you can just copy it over. If it fails to work, just
>> > check the first line of the script (load it into a text editor) and make
>> > sure
>> > the path to perl is correct.
>> >
>> > --
>> > Matt Pounsett CIRA - Canadian Internet Registration
>> > Authority
>> > Technical Support Programmer 350 Sparks Street, Suite
>> > 1110
>> > matt.pounsett at cira.ca Ottawa, Ontario,
>> > Canada
>> > 613.237.5335 ext. 231
>> > http://www.cira.ca
>> >
>> >
>> >
>> > -------------------------------------------------------
>> > This sf.net email is sponsored by:ThinkGeek
>> > Welcome to geek heaven.
>> > http://thinkgeek.com/sf
>> > _______________________________________________
>> > Nagios-users mailing list
>> > Nagios-users at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>> > ::: Please include Nagios version, plugin version (-v) and OS when reporting
>> > any issue.
>> > ::: Messages without supporting info will risk being sent to /dev/null
>> >
>> >
>> > -------------------------------------------------------
>> > This sf.net email is sponsored by:ThinkGeek
>> > Welcome to geek heaven.
>> > http://thinkgeek.com/sf
>> > _______________________________________________
>> > Nagios-users mailing list
>> > Nagios-users at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/nagios-users
>> > ::: Please include Nagios version, plugin version (-v) and OS when reporting any
>> > issue.
>> > ::: Messages without supporting info will risk being sent to /dev/null
>> >
>> >
>>
>>
>>
>
> --
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any
> issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
--
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. - http://www.pneservices.com
mmcclure [at] pneservices [dot] com
mobile: 913-636-5590
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list