We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running the plugin from commandline, the plugin no longer fetches the current alerts of a device.
./librenms-alerts --defaults-file=~/linuxfabrik/mysql.cnf --device-hostname=osw1-a2-6-4 --lengthy
$ ./librenms-alerts --defaults-file=~/linuxfabrik/mysql.cnf --device-hostname=osw1-a2-6-4 --lengthy Everything is ok. Checked 1 device. Hostname ! SysName ! Hardware ! Type ! OS ! Location ! Uptime ! Alert ! State ------------+-------------+----------+---------+-----------+----------+--------+-------+------- osw1-a2-6-4 ! osw1-a2-6-4 ! None ! network ! microsens ! None ! 3W 4D ! None ! [OK]|'device_count'=1;;;0; 'alert_count'=0;;;0;
$ uname -a Linux L14G2-15209-P2 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 GNU/Linux
librenms-alerts: v2024090301 by Linuxfabrik GmbH, Zurich/Switzerland
Python 3.11.2
$ python3 -c 'help("modules")' Please wait a moment while I gather a list of all available modules... /usr/lib/python3/dist-packages/nltk/app/__init__.py:45: UserWarning: nltk.app.wordfreq not loaded (requires the matplotlib library). warnings.warn("nltk.app.wordfreq not loaded (requires the matplotlib library).") /usr/lib/python3/dist-packages/nltk/twitter/__init__.py:20: UserWarning: The twython library has not been installed. Some functionality from the twitter package will not be available. warnings.warn( /usr/lib/python3.11/pkgutil.py:92: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47. __import__(info.name) /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.") PIL antigravity jinja2 runpy __future__ argcomplete joblib sched __hello__ argparse json secrets __phello__ array keystoneauth1 select _abc ast keystoneclient selectors _aix_support asynchat keyword setuptools _ast asyncio lib shelve _asyncio asyncore lib2to3 shlex _bisect atexit librouteros shutil _blake2 attr linecache signal _bootsubprocess attrs livereload simplejson _bz2 audioop locale site _cffi_backend babel logging sitecustomize _codecs base64 lunr six _codecs_cn bdb lxml smbclient _codecs_hk binascii lzma smbprotocol _codecs_iso2022 bisect mailbox smtpd _codecs_jp bs4 mailcap smtplib _codecs_kr builtins markdown sndhdr _codecs_tw bz2 markupsafe snowballstemmer _collections cProfile marshal socket _collections_abc calendar math socketserver _compat_pickle certifi mergedeep soupsieve _compression cffi mimetypes sphinx _contextvars cgi mkdocs spnego _crypt cgitb mmap spwd _csv chardet modulefinder sqlite3 _ctypes charset_normalizer more_itertools sre_compile _ctypes_test chunk msgpack sre_constants _curses click multiprocessing sre_parse _curses_panel cmath nagiosplugin ssl _datetime cmd netaddr stat _dbm code netifaces statistics _decimal codecs netrc stevedore _distutils_hack codeop nis string _distutils_system_mod collections nltk stringprep _elementtree colorama nntplib struct _functools colorsys novaclient subprocess _gdbm compileall ntpath sunau _hashlib concurrent nturl2path swiftclient _heapq configparser numbers symtable _imp contextlib numpy sys _io contextvars olefile sysconfig _json copy opcode syslog _locale copyreg operator tabnanny _lsprof crypt optparse tarfile _lzma cryptography os telnetlib _markupbase csv os_service_types tempfile _md5 ctypes oslo_config termios _multibytecodec curses oslo_i18n test _multiprocessing dataclasses oslo_serialization textwrap _opcode datetime oslo_utils this _operator dateutil ossaudiodev threading _osx_support dbm packaging time _pickle debtcollector pathlib timeit _posixshmem decimal pbr tkinter _posixsubprocess difflib pdb token _py_abc dis pickle tokenize _pydecimal distutils pickletools tomllib _pyio doctest pip tornado _pytest docutils pipes tqdm _queue easysnmp pipx trace _random email pkg_resources traceback _sha1 encodings pkgutil tracemalloc _sha256 ensurepip platform tty _sha3 enum plistlib turtle _sha512 errno pluggy turtledemo _signal faulthandler poplib types _sitebuiltins fcntl posix typing _socket filecmp posixpath tzdata _sqlite3 fileinput pprint unicodedata _sre flatdict prettytable unittest _ssl fnmatch profile urllib _stat fractions pstats urllib3 _statistics ftplib psutil userpath _string functools pty uu _strptime gc pwd uuid _struct genericpath py venv _symtable getopt py_compile vici _sysconfigdata__linux_x86_64-linux-gnu getpass pyclbr warnings _sysconfigdata__x86_64-linux-gnu gettext pycparser watchdog _testbuffer ghp_import pydoc wave _testcapi glob pydoc_data wcwidth _testclinic graphlib pyexpat weakref _testimportmultiple grp pygments webbrowser _testinternalcapi gzip pyinotify wheel _testmultiphase hashlib pymysql winrm _thread heapq pynag wrapt _threading_local hmac pyparsing wsgiref _tkinter html pytest xdrlib _tokenize http pytz xml _tracemalloc idlelib queue xmlrpc _typing idna quopri xmltodict _uuid imagesize random xxlimited _warnings imaplib re xxlimited_35 _weakref imghdr readline xxsubtype _weakrefset imp regex yaml _xxsubinterpreters importlib reprlib yaml_env_tag _xxtestfuzz iniconfig requests zipapp _yaml inspect requests_ntlm zipfile _zoneinfo io resource zipimport abc ipaddress rfc3986 zlib aifc iso8601 rlcompleter zoneinfo alabaster itertools roman
I'm using the current stable version of LibreNMS: 25.4.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This issue respects the following points:
Which variant of the Monitoring Plugins do you use?
Bug description
When running the plugin from commandline, the plugin no longer fetches the current alerts of a device.
Steps to reproduce - Plugin call
./librenms-alerts --defaults-file=~/linuxfabrik/mysql.cnf --device-hostname=osw1-a2-6-4 --lengthy
Steps to reproduce - Data
Environment
$ uname -a
Linux L14G2-15209-P2 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 GNU/Linux
Plugin Version
librenms-alerts: v2024090301 by Linuxfabrik GmbH, Zurich/Switzerland
Python version
Python 3.11.2
List of Python modules
Additional Information
I'm using the current stable version of LibreNMS: 25.4.0
The text was updated successfully, but these errors were encountered: