We consolidated some of the commands for multiple scrapers in to the NetDBHelper.pm library to improve performance and reduce duplicated code. It sounds like your version of that library is out of date.
I would try to locate your locally installed version of NetDBHelper.pm and make sure it's symlinked to the /opt/netdb/NetDBHelper.pm version that comes with v1.11. I have a feeling during the original install it was copied to a perl library directory rather than symlinked. If that's not the case let me know.
Jonathan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jonathan , you are rigth, I forgot to symlink new NetDBHelper.pm to /usr/lib/perl5/ This solved my issue. Thanks a lot. Keep up good work.
PS. I had some time earler worked on the checkpoint firewall arp scraper , I will come back to it now when I have more time. I will posted when finished.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great, glad that fixed it. Let me know if you need some help on the
checkpoint scraper. If you can help me test login and get command results I
can help you put it all together.
Jonathan , you are rigth, I forgot to symlink new NetDBHelper.pm to
/usr/lib/perl5/ This solved my issue. Thanks a lot. Keep up good work.
PS. I had some time earler worked on the checkpoint firewall arp scraper ,
I will come back to it now when I have more time. I will posted when
finished.
I have noticed that the way that commands are executed via SSH has changed. Old scripts in v 1.10.X were doing it this way :
@cmdresults = $session->exec( "show interface status" );
New scrapers in v 1.11.2 are executing it this way:
@cmdresults = SSHCommand( $session, "show interface status" );
In my case it actually ended with having no data for the cisco boxes , after debugging i have discovered that i am getting smth like this :
Undefined subroutine &main::SSHCommand called at /opt/netdb/netdbscraper/iosscraper.pl line 472.
So i have replaced it into the old way.
Can you explain whats the difference between those two ? I am suspecting that I am missing some module in perlm correct me if I am wrong.
PS. Anyhow I really admit your work and tool helps us a lot in our network environment , I see plans for new features which is very promising.
Bart,
We consolidated some of the commands for multiple scrapers in to the NetDBHelper.pm library to improve performance and reduce duplicated code. It sounds like your version of that library is out of date.
I would try to locate your locally installed version of NetDBHelper.pm and make sure it's symlinked to the /opt/netdb/NetDBHelper.pm version that comes with v1.11. I have a feeling during the original install it was copied to a perl library directory rather than symlinked. If that's not the case let me know.
Jonathan
Jonathan , you are rigth, I forgot to symlink new NetDBHelper.pm to /usr/lib/perl5/ This solved my issue. Thanks a lot. Keep up good work.
PS. I had some time earler worked on the checkpoint firewall arp scraper , I will come back to it now when I have more time. I will posted when finished.
Bart,
Great, glad that fixed it. Let me know if you need some help on the
checkpoint scraper. If you can help me test login and get command results I
can help you put it all together.
Jonathan
--
Jonathan Yantis
On Oct 4, 2013, at 5:04 PM, Bart czuprynn7@users.sf.net wrote:
Jonathan , you are rigth, I forgot to symlink new NetDBHelper.pm to
/usr/lib/perl5/ This solved my issue. Thanks a lot. Keep up good work.
PS. I had some time earler worked on the checkpoint firewall arp scraper ,
I will come back to it now when I have more time. I will posted when
finished.
@cmdresult behaviour change in
v1.11.2https://sourceforge.net/p/netdbtracking/discussion/939989/thread/6aecde39/?limit=25#0a25
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/netdbtracking/discussion/939989/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/