Beyond that, the web portion is now good and as shown it is pulling data... Just having scraper issues with getting the data, and part of me still feels like it is related to FLOCK since the data is shown (ARP and MAC info) during debug. But then again, the intstatus.txt has no issues:
I am using RHEL 7 and had some issues with getting File::Flock.pm working and had to change the IO::SOCKET::INET6 to INET. flock.pm was found in IO::LockedFile::Flock so I updated NetDBHelper.PM accordingly: use IO::LockedFile::Flock; So with that, it appears I am able to connect to my 4 devices now (Pair of Nexus 9k's and pair of Nexus 5k's). I've turned on full debug for nxosscraper and it appears to be pulling the arp table, mac table, and so forth but only the intstatus.txt file is being populated...
Fixed it 30 minutes later, was actually related to me trying to run it via root's crontab instead of just running is as myself (normal user). Once I moved it to my crontab and specified full path of perl, all is well. Thanks
I have an issue where I am attempting to schedule the cron entry and I am unable to get it working. Everything works fine when running straight from console/SSH but not when scheduled. Here is the error log. I know I will get blasted but for sake of all things functional I am just attempting to run it as root, this is an internal server within private data center for a client. Here is the current cron entry: 00,15,30,50 * * /usr/bin/perl /opt/netdb/netdbctl.pl -ud -a -m -nd > /dev/null Wed Nov 13...
I was able to resolve the Access Point issue itself by using Yantis's netdb.pl edit regarding the wifi variable. I am now just stuck with the 4 reports below the "------------" in the drop down as not working. It just says "no switches with that name" if I use just an asterisk by itself or exact hostname of a device that exists within the db.
It seems the 4 above the ---------- in the drop down work and the bottom 4 do not. This is a fresh install on Ubuntu 18.04 and so far the only errors I have seen are the column group errors related to : Thu Aug 22 13:54:25 2019: netdbctl(25203): DBD::mysql::st execute failed: Unknown column 'mgmtgroup' in 'field list' at /usr/share/perl5/NetDB.pm line 2242. I have attempted to drop the database and re-create that aspect to ensure everything is there. I have to assume there is some puprose of the...
It seems the 4 above the ---------- in the drop down work and the bottom 4 do not. This is a fresh install on Ubuntu 18.04 and so far the only errors I have seen are the column group errors related to I have attempted to drop the database and re-create that aspect to ensure everything is there. I have to assume there is some puprose of the "--------------" divider on the dropdown since the 4 above it work and the 4 below do not. The db has the switch names for sure, but oddly the Device by IP, MAC,...