Comments (7)
Thanks for raising this issue. Is this something you think you could fix yourself?
from python-alerta-client.
Sorry
but not sure I can fix this :(
from python-alerta-client.
Hi, @skob , why using > /dev/null is not a good solution?
from python-alerta-client.
Because you can loose output from cronjob and you can’t control this behavior
from python-alerta-client.
@skob Which alerta
commands are you talking about? And what output are you suggesting should be silenced from those commands?
I've just checked alerta housekeeping
and it doesn't seem to generate any output unless there's an error.
from python-alerta-client.
$ /srv/alerta/bin/alerta version
alerta 7.2.9
alerta client 7.2.2
requests 2.22.0
click 7.0
$ alerta heartbeats --timeout 600 --alert
ORIGIN STATUS LATENCY SINCE TAGS TIMEOUT ID CREATED CUSTOMER RECEIVED
...
Alerting 148 heartbeats [####################################] 100%
from python-alerta-client.
The click progress bar doesn't render in a progress bar unless your tty has stdout ...
""" By default, this progress bar will not be rendered if the file is not a terminal.
I've modified the CLI to output errors to stderr and so the earlier suggested work-around of piping to /dev/null
should be sufficient.
from python-alerta-client.
Related Issues (20)
- Configurable timeout for alerts created from heartbeats
- Get config request ignores "SSL verify" setting
- severity used to close stale heartbeat alerts is hardcoded to 'normal' HOT 2
- Handle when config cannot be loaded from server
- Error when creating new users HOT 1
- Alerts on heartbeat are not triggered HOT 6
- Add generating heartbeat alerts to python SDK HOT 1
- Wheel name and python package name are different HOT 4
- `alerta heartbeats --alert` broken HOT 4
- TypeError: Object of type 'function' is not JSON serializable from CLI when running heartbeat alert HOT 1
- TypeError: Object of type 'function' is not JSON serializable from CLI when running heartbeat alert HOT 2
- SDK passing page size as "None" if not set
- alerta delete not removing all alerts HOT 1
- TypeError: 'User' object is not subscriptable
- Cron job for stale or slow heartbeats do not accept arguments specified in the documentation HOT 1
- Set alarm status in send_alarm HOT 3
- Add Python3 typing
- Alerta doesn't return all alert with get_alerts
- Unable to handshake between alerta server and Web UI HOT 1
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 python-alerta-client.