Giter Site home page Giter Site logo

Comments (4)

crcro avatar crcro commented on September 13, 2024

just checked this:

crc@smtp01:$ sudo ./exim-stats.sh
[sudo] password for crc:
16
19
crc@smtp01:
$

if you run it without sudo then you won't get the values:

crc@smtp01:~$ ./exim-stats.sh
exim: permission denied
0
exim: permission denied

crc@smtp01:~$

from librenms-agent.

alchemyx avatar alchemyx commented on September 13, 2024

from librenms-agent.

alchemyx avatar alchemyx commented on September 13, 2024

I would also add one thing - wc -l will always return one number, it is number of lines as per manual:

       -l, --lines
              print the newline counts

. So I have no idea how it is possible it returns you two numbers instead of one.

from librenms-agent.

alchemyx avatar alchemyx commented on September 13, 2024

OK. Now is all clear. The link http://docs.librenms.org/Extensions/Applications/#exim-stats points to outdated version of exim-stats.sh. Sorry for not checking it thoroughly.

from librenms-agent.

Related Issues (20)

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.