Comments (10)
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.
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.
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.
from switchmap-ng.
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.
Trying to revive this repo... If you still need this researched, please say so here, otherwise please close the issue.
from switchmap-ng.
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.
ok to close this issue (for now)?
from switchmap-ng.
from switchmap-ng.
@palisadoes can you please close this issue?
from switchmap-ng.
Related Issues (20)
- Add idle time of a port to the device report
- Show VIPs assigned to interfaces
- API - Show the VLAN numbers on each Trunk port
- Only poll the required Cisco contexts for VLAN MAC table data in the Bridge MIB
- Speed up polling by using snmp bulkwalk versus snmp getnext walks
- Daemons must verify their filenames before running
- PID file check should be overridden if the daemons are dead HOT 1
- Can't get program to run HOT 3
- Dashboard customization / display HOT 3
- New Devices are not show at Dashboard HOT 1
- Not seeing devices in dashboard HOT 6
- device.py crashes for some NX-OS gear
- Place config for hostnames in a separate config file HOT 7
- Switchmap-NG new features - Input welcome HOT 4
- ImportError: cannot import name Markup from flask HOT 2
- New Unittests for the general.py module
- New Unittests for the general.py module
- Logfiles need to be created with 644 permissions. Currently set to 666 by default. HOT 1
- Need to check for systemd presence in precheck when running as root
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from switchmap-ng.