lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
146 stars 88 forks source link

does not build since commit ece67294cf97d0bf25d2fd6dcda2e262d77cf05a #290

Closed flohoff closed 2 years ago

flohoff commented 2 years ago

This hunk needs VERSAMIB.pm which is not in the repo because MIBS is in .gitignore:

flo@p5:~/projects/check_nwc_health$ make
Making all in plugins-scripts
make[1]: Entering directory '/home/flo/projects/check_nwc_health/plugins-scripts'
make[1]: *** No rule to make target '../MIBS/versa-mibs/VERSAMIB.pm', needed by 'check_nwc_health'.  Stop.
make[1]: Leaving directory '/home/flo/projects/check_nwc_health/plugins-scripts'
make: *** [Makefile:343: all-recursive] Error 1
--- a/plugins-scripts/Makefile.am
+++ b/plugins-scripts/Makefile.am
@@ -8,6 +8,7 @@ GL_MODULES=\
   ../GLPlugin/lib/Monitoring/GLPlugin/TableItem.pm \
   ../GLPlugin/lib/Monitoring/GLPlugin/SNMP.pm \
   ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids.pm \
+  ../MIBS/versa-mibs/VERSAMIB.pm \
   ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/MIB2MIB.pm \
   ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/SNMPFRAMEWORKMIB.pm \
   ../GLPlugin/lib/Monitoring/GLPlugin/SNMP/MibsAndOids/ADSLLINEMIB.pm \
lausser commented 2 years ago

Oh, you're right, thanks. I just pushed the fix.