GithubHelp home page GithubHelp logo

Comments (5)

giantcow avatar giantcow commented on September 24, 2024 1

Confirmed that the v.0.0.11 works~

from panda-motd.

taylorthurlow avatar taylorthurlow commented on September 24, 2024

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.

giantcow avatar giantcow commented on September 24, 2024

@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.

taylorthurlow avatar taylorthurlow commented on September 24, 2024

@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.

taylorthurlow avatar taylorthurlow commented on September 24, 2024

@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)

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.