Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Advanced troubleshooting Recon compilation error on 6.0 sp4

  • Recon compilation error on 6.0 sp4

    Posted by pgrimard on December 2, 2016 at 21:05

    I’m trying to use the snmp l2 recon script on the http interface. When i try to start the recon task it show 1% and stops right ways.

    I went on the server and tried the script  /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl in command line. There seems to be a problem how the Variable PARENT that is not declared in the recon script.

    [root@localhost ~]# /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1083.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1084.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1085.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1086.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1088.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1089.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1090.
    Global symbol “%PARENTS” requires explicit package name at /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl line 1091.
    Execution of /usr/share/pandora_server/util/recon_scripts/snmp-recon.pl aborted due to compilation errors.

    antonio replied 7 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • antonio

    Member
    December 12, 2016 at 14:43
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello pgrimard,

    It is a bug of the recon script. I’ve been able to replicate it and should be resolved on the next update. However, the solution is really simple if you have some minimal knowledge about perl programming. By just declaring the “PARENTS” variable should fix the issue.

    Kind regards,
    Antonio.