Comments (5)
Confirmed that the v.0.0.11
works~
from panda-motd.
Thanks for the bug report! Do you mind posting the output of systemctl is-active SERVICENAME
where SERVICENAME
is a name of one of the services you're trying to monitor?
Also, you should have a log file located at /var/log/panda-motd.error.log
. Can you post this as well?
from panda-motd.
@taylorthurlow no worries, happy to help.
$ my_services=('nginx' 'fail2ban' 'snmpd' 'ufw' 'php7.0-fpm' 'clamv-freshclam'); for service in $my_services[@]; do echo $service is $(systemctl is-active $service); done
nginx is failed
fail2ban is active
snmpd is active
ufw is active
php7.0-fpm is active
clamv-freshclam is inactive
I noticed that if I removed NGINX from my panda-motd configuration under service_status
that panda-motd showed the correct output. Perhaps panda-motd is not parsing the failure message correctly?
Looks like /var/log/panda-motd.error.log
exists, but there are no contents.
from panda-motd.
@RyoshiKayo You're correct - I haven't encountered the failed
state yet. I'll fix that and look into other possible states. I'll let you know as soon as it's fixed.
from panda-motd.
@RyoshiKayo I've just pushed v0.0.11
to rubygems, so you should be able to do a gem update panda-motd
to grab the latest. Let me know if this fixes the issue for you - it should.
from panda-motd.
Related Issues (19)
- Add error checking
- Service Status Component: ASCII ArgumentError HOT 11
- UFW not showing in output. HOT 9
- Error on first run (ascii_text_art.rb:15:in ``': No such file or directory - (Errno::ENOENT)) HOT 2
- Docker support HOT 1
- Automagically Sort SSL Certificates HOT 1
- Non-running services don't appear in list
- Add command eval support to ASCII Text Art component
- Not handling all possible output in last login component
- Fail2Ban Component HOT 3
- Ignore this lmao
- undefined method `[]' for nil:NilClass (NoMethodError) HOT 3
- wrong uptime displayed HOT 6
- Better error handling
- ssl_certificates error: Unable to find certificate expiration date HOT 5
- `components_enabled': undefined method `map' for nil:NilClass (NoMethodError) HOT 4
- Add other init systems HOT 1
- Non-ASCII characters in systemctl output breaking services component
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 panda-motd.