Menu

#18 Collector fails to accept data from njmon client

v1.0 (example)
closed
7
2020-02-11
2020-01-02
No

I have a problem with a njmon, data collection to grafana stopped working, when njmon to the accessed to collector I get an error

Thu Jan 2 13:00:01 2020 INFO: Starting injector part1:/app/collector/injector.py:17519
Thu Jan 2 13:00:01 2020 INFO: Starting injector part2:port:1234
Thu Jan 2 13:00:01 2020 INFO: New Request name=njmon, hostname=dsvbosdbp02, utc=2020-01-02T11:00:00, njmon-version=12
:starting ...:0
Thu Jan 2 13:00:01 2020 ERROR: Missing year in request:preamble-here njmon dsvbosdbp02 2020-01-02T11:00:00 Oxdeadbeef 12 postamble-here:-1

njmon_v41
collector_v31
injector_v30

Related

Support Requests: #18

Discussion

  • Matthew Lavigne

    Matthew Lavigne - 2020-01-03

    Seeing this on linux also. Collector is 31/Injector is the same. njmon on the hosts are 41.

    Tue Dec 31 23:59:19 2019 ERROR: Missing year in request:preamble-here njmon antlinuxtsm01 2020-01-01T05:00:02 postamble-here:-1
    Wed Jan 1 00:00:01 2020 INFO: Finished loops:antvm:1944
    Wed Jan 1 00:00:01 2020 INFO: Starting injector part1:/usr/local/bin/injector.py:10506
    Wed Jan 1 00:00:01 2020 INFO: Starting injector part2:port:8282
    Wed Jan 1 00:00:01 2020 INFO: New Request name=njmon, hostname=antvm, utc=2020-01-01T05:00:01, njmon-version=12
    Wed Jan 1 00:00:01 2020 ERROR: Missing year in request:preamble-here njmon 2020-01-01T05:00:01 postamble-here:-1

     
  • Nigel Griffiths

    Nigel Griffiths - 2020-01-03

    Hi,
    Thanks for the feedback and reporting the issue - others have fallen into this trap.
    The njmon page site clealy states the njmon AND injector need to be updated TOGETHER

    You must upgrade njmon and injector AT THE SAME TIME
    This is the result of changing to Newline separated JSON records.
    You are using njmon41 and injector 30, so please update your injector to 41.

    Cheers, Nigel

     
  • Matthew Lavigne

    Matthew Lavigne - 2020-01-03

    Nigel,

    [mattnerin@gateway2 tmp]$ unzip njmon_tools_v41b.zip
    Archive: njmon_tools_v41b.zip
    inflating: collector_port8080.conf
    inflating: injector41.py
    inflating: line2pretty.py
    inflating: njmonold2line.py
    inflating: njmon_collector_RHEL76_ppc64le_v31
    inflating: njmon_collector_ubuntu18_AMD64_v31
    inflating: njmon_collector_v31.c
    inflating: pretty2line.py

    I am using the njmon_tools that is referenced above. This was an initial installation and was working right up until 1/1/2020 at midnight. I had previously up to about 10 days of data per system that was loading and available via grafana properly. Currently I can no longer get the data to load/connect to the collector/injector.

     
    • Nigel Griffiths

      Nigel Griffiths - 2020-01-03

      Hi,
      I stand corrected.

      Other users reported this and found the bug.
      I have released a new njmon collector v33 with the code fixed on
      http://nmon.sourceforge.net/pmwiki.php?n=Site.Njmon
      with AMD Ubuntu 18 and Power RHEL7 binaries.

      Very sorry about this really dumb bug!

      cheers, Nigel

      From: "Matthew Lavigne" mattlav@users.sourceforge.net
      To: "[nmon:support-requests] "
      18@support-requests.nmon.p.re.sourceforge.net
      Date: 03/01/2020 10:01
      Subject: [EXTERNAL] [nmon:support-requests] #18 Collector fails to
      accept data from njmon client

      Nigel,
      [mattnerin@gateway2 tmp]$ unzip njmon_tools_v41b.zip
      Archive: njmon_tools_v41b.zip
      inflating: collector_port8080.conf
      inflating: injector41.py
      inflating: line2pretty.py
      inflating: njmonold2line.py
      inflating: njmon_collector_RHEL76_ppc64le_v31
      inflating: njmon_collector_ubuntu18_AMD64_v31
      inflating: njmon_collector_v31.c
      inflating: pretty2line.py
      I am using the njmon_tools that is referenced above. This was an initial
      installation and was working right up until 1/1/2020 at midnight. I had
      previously up to about 10 days of data per system that was loading and
      available via grafana properly. Currently I can no longer get the data to
      load/connect to the collector/injector.

      [support-requests:#18] Collector fails to accept data from njmon client
      Status: open
      Group: v1.0 (example)
      Labels: Njmon for AIX
      Created: Thu Jan 02, 2020 03:14 PM UTC by Alexander Zhuravel
      Last Updated: Fri Jan 03, 2020 09:44 AM UTC
      Owner: Nigel Griffiths
      I have a problem with a njmon, data collection to grafana stopped working,
      when njmon to the accessed to collector I get an error
      Thu Jan 2 13:00:01 2020 INFO: Starting injector
      part1:/app/collector/injector.py:17519
      Thu Jan 2 13:00:01 2020 INFO: Starting injector part2:port:1234
      Thu Jan 2 13:00:01 2020 INFO: New Request name=njmon,
      hostname=dsvbosdbp02, utc=2020-01-02T11:00:00, njmon-version=12
      :starting ...:0
      Thu Jan 2 13:00:01 2020 ERROR: Missing year in request:preamble-here njmon
      dsvbosdbp02 2020-01-02T11:00:00 Oxdeadbeef 12 postamble-here:-1
      njmon_v41
      collector_v31
      injector_v30

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/nmon/support-requests/18/
      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      Unless stated otherwise above:
      IBM United Kingdom Limited - Registered in England and Wales with number
      741598.
      Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

       

      Related

      Support Requests: #18

  • Nigel Griffiths

    Nigel Griffiths - 2020-02-11
    • status: open --> closed
     
  • Nigel Griffiths

    Nigel Griffiths - 2020-02-11

    Sorry, I have neglected this bug report.
    We have many new releases since and many bug fixes - please move up the latest version.
    I recommend moving up to using njmond.py insteand of collectore + Injector.
    I will close this bug report.

     

Log in to post a comment.