Git Product home page Git Product logo

Comments (10)

ntwrk80 avatar ntwrk80 commented on August 17, 2024

Ok further investigation shows that the poller is exiting without any errors after systemd starts it. Is there a way to run it manually with debugging?

from switchmap-ng.

palisadoes avatar palisadoes commented on August 17, 2024

The log files should have further information. Sometimes there is a lock file that exists that prevents polling occurring that needs to be deleted. Please post what you see.

from switchmap-ng.

ntwrk80 avatar ntwrk80 commented on August 17, 2024

All I get is the following:

2020-09-21 11:03:07,268 - switchmap_file - INFO - [switchmap-ng] (1070S): Daemon switchmap-ng-poller started - PID file: /home/switchmap-ng/.switchmap/pid/switchmap-ng-poller.pid
2020-09-21 11:03:07,268 - switchmap_file - INFO - [switchmap-ng] (1056S): Starting device polling sequence.
2020-09-21 11:03:07,300 - switchmap_file - INFO - [switchmap-ng] (1078S): Querying topology data from host 10.108.32.101.
2020-09-21 11:03:07,301 - switchmap_file - INFO - [switchmap-ng] (1078S): Querying topology data from host 10.140.50.36.
2020-09-21 11:03:07,302 - switchmap_file - INFO - [switchmap-ng] (1078S): Querying topology data from host 10.140.50.37.
2020-09-21 11:03:12,916 - switchmap_file - INFO - [switchmap-ng] (1077S): Completed topology query from host 10.108.32.101.

At this point systemd thinks it's active but exited...

     Loaded: loaded (/etc/systemd/system/switchmap-ng-poller.service; enabled; vendor preset: enabled)
     Active: active (exited) since Mon 2020-09-21 11:03:07 CDT; 1min 19s ago
    Process: 551915 ExecStart=/home/switchmap-ng/bin/systemd/switchmap-ng-poller $START (code=exited, status=0/SUCCESS)
   Main PID: 551924 (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 76949)
     Memory: 5.1M
     CGroup: /system.slice/switchmap-ng-poller.service

Sep 21 11:03:06 iscap-nettools01 systemd[1]: Starting switchmap-ng: Network state SNMP poller...
Sep 21 11:03:07 iscap-nettools01 systemd[1]: Started switchmap-ng: Network state SNMP poller.

from switchmap-ng.

palisadoes avatar palisadoes commented on August 17, 2024

from switchmap-ng.

ntwrk80 avatar ntwrk80 commented on August 17, 2024

At that point though there are no switchmap-ng-poller processes left to spawn the next poll. Also it doesn't actually create all of the hosts in the config file. Only three show up in the API.

from switchmap-ng.

dcthor avatar dcthor commented on August 17, 2024

Trying to revive this repo... If you still need this researched, please say so here, otherwise please close the issue.

from switchmap-ng.

ntwrk80 avatar ntwrk80 commented on August 17, 2024

I no longer have access to the original server this was on. I look forward to seeing a restart of this repo and progress as switchmap is one of my favorite tools.

from switchmap-ng.

dcthor avatar dcthor commented on August 17, 2024

ok to close this issue (for now)?

from switchmap-ng.

ntwrk80 avatar ntwrk80 commented on August 17, 2024

from switchmap-ng.

dcthor avatar dcthor commented on August 17, 2024

@palisadoes can you please close this issue?

from switchmap-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.