Send netdisco-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Netdisco job scheduler and backend (latest) Docker container
      -- netdisco-backend status is not running (Alex Sotelo)
--- Begin Message ---
Hello folks,

I'm new to Netdisco and I recently migrated our instance off RHEL6 to RHEL7
using the Docker containers backend and web. My postgreSQL database is
running on the host and I set the pg_hba conf file to allow access to the
host database from the Docker containers.

Everything looks fine on the web end, I see jobs are being queued and
running. However, the job scheduler for arpwalk does not seem to work as
configured. I specified the following:

schedule:
  discoverall:
    when: '5 7 * * *'
  macwalk:
    when:
      min: 20
  arpwalk:
    when:
      min: 20
  nbtwalk:
    when: '0 8,13,21 * * *'
  expire:
    when: '20 23 * * *'

However, devices that used to run through the sshcollector only run when I
push the arpnip button on the web app or if I restart the backend
container. I would like to have them run every 20 minutes as specified in
the arpwalk min value.

Additionally, when I connect to my backend container, I noticed that if I
run a /home/netdisco/bin/netdisco-backend status, it always says 'not
running' after restarting the Docker container. Doing a netdisco-backend
start completes successfully. More interestingly, if I do a
/home/netdisco/bin/netdisco-backend-fg I see this error message:

~ $ netdisco-backend-fg
Can't locate Path/Class.pm in @INC (you may need to install the Path::Class
module) (@INC contains: /usr/local/lib/perl5/site_perl
/usr/local/share/perl5/site_perl /usr/lib/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl
/usr/share/perl5/core_perl .) at /home/netdisco/bin/netdisco-backend-fg
line 8.
BEGIN failed--compilation aborted at /home/netdisco/bin/netdisco-backend-fg
line 8.

I am running the latest containers for web and backend. PostgreSQL database
on the host is running 9.2. Please let me know what I might be missing.

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to