Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discover.php -m processors fails #3981

Closed
davidklaftenegger opened this issue Aug 6, 2016 · 1 comment
Closed

discover.php -m processors fails #3981

davidklaftenegger opened this issue Aug 6, 2016 · 1 comment

Comments

@davidklaftenegger
Copy link

davidklaftenegger commented Aug 6, 2016

Version info:
Commit SHA: 558bcf5
[WARN] Your local git contains modified files, this could prevent automatic updates.
Modified files:
This account is currently not available.
DB Schema: 126
PHP: 5.6.21-pl0-gentoo
MySQL: 5.6.30-log
RRDTool: 1.5.51.5.5
SNMP: NET-SNMP version: 5.7.3

As of the automatic update I received yesterday, my cron job for ./discovery.php -h all is failing (return code 255).
Digging through the modules, this comes from module processors:

# ./discovery.php -h all -d -m processors
LibreNMS 2015.master Discovery
Version info:
Commit SHA: 558bcf5971e5ac295b8a3618f552ae0c5edded16
DB Schema: 126
PHP: 5.6.21-pl0-gentoo
MySQL: 5.6.30-log
RRDTool: 1.5.51.5.5
SNMP: NET-SNMP version: 5.7.3

DEBUG!

SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1] 
SQL[SELECT revision FROM `dbSchema`] DB Schema already up to date.

SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0   ORDER BY device_id DESC] 
SQL[SELECT * FROM devices_attribs WHERE `device_id` = '14'] com 14 linux  (unix)
#### Load disco module processors ####
Including: /var/www/localhost/librenms//includes/discovery/processors/zywall.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/pbn.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/netonix.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/fiberhome.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/nos.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/viprinux.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/ios.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/watchguard.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/adtran-aos.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/extreme.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/junos.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/binox.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/dnos.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/vrp.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/radlan.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/procurve.inc.php
Including: /var/www/localhost/librenms//includes/discovery/processors/powerconnect.inc.php

This seems to be related to #3966, as the problem disappears if I revert to 8f05fea

The first commit with this problem appears to be 2ed9d46

@laf
Copy link
Member

laf commented Aug 6, 2016

Thanks, fixed.

@laf laf closed this as completed Aug 6, 2016
@lock lock bot locked as resolved and limited conversation to collaborators May 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants