Comments (1)
Making this available through API sounds worthwhile to me, at least.
Our intended solution is just before the reboot switch command is sent, we make an API call to NAV to start a ~15 min maintenance task.
Just be aware that in the current implementation, maintenance schedules are processed only every 5 minutes by a cron job. I.e. you can create a new maintenance task that has a start time of "now", but up to 5 minutes could potentially pass until the components are actually marked as being on maintenance.
If the API can handle adding up to ~50 tiny maintenance windows with one device each in rapid succession that would be good, or maybe we can also try to schedule a bit longer window for up to 50 devices at a time with one API call
Are you asking that a single API request can be used to create 50 separate maintenance tasks in one go?
This sounds counterintuitive to me, given how maintenance tasks work in NAV: You'd seriously crowd your maintenance calendar if you added single tasks for each device in this manner. If your intention is to reboot 50 devices in bulk over the course of the next 15 minutes, I'd try to post that as a single maintenance task that contains all those 50 devices.
from nav.
Related Issues (20)
- [BUG] navtopology cron job does not start properly HOT 3
- [BUG] Renaming of `snmptrapd.py` to `snmptrapd` conflicts with Net-SNMP's `snmptrapd` HOT 2
- Adding multiple SNMPv3-enabled switches in NAV causes spurious timeouts and `snmpAgentDown` alerts HOT 3
- ARP records are closed in bulk, seemingly at random
- Installing NAV on Debian guide should be updated to Debian Bullseye
- Add deprecation warning for Python 3.7 to `NOTES.rst` and `CHANGELOG.md`
- Remove Python 3.7 from default test matrix
- Update required PostgreSQL version to 13
- Make a new management profile type for REST APIs HOT 2
- Make TLS certification validation configurable in the ipdevpoll Palo Alto ARP plugin
- Upgrade minimum twisted version to higher than 22.8.0
- [BUG] Alert profile filter - list_limit reached HOT 1
- [BUG] All ARP records associated with a router are immediately closed when there is a short ICMP echo packet loss HOT 4
- [BUG] CAM data not collected for devices of type SRV and OTHER
- Make qrcode library produce SVG images instead of PNG HOT 2
- plugins paloaltoarp.py - Entries node not found at element [0][4] HOT 6
- Fully rename `snmptrapd` to `navtrapd` internally
- Support KEA for dhcp statistics
- Juniper: Add MIB for statistics of "Data Plane CPU Utilization"
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 nav.