Hello I can implement everything without problems but with rh5 and 6 I can not make it work
I write a ticket but I put a topic here, maybe someone has already happened. thank you
PROBLEM: njmon starts but ends in a few minutes without registering anything in the base, this happens when client is redhat 5 and 6, I try to change to injector.py_v15 but I join the problem with redhat 7 :(
Injector: injector.py_v14
Collector: njmon_collector_v16
njmon: test version 18,19,21
injector.log
Injected snapshot 0 for localhost Database:njmon
njmon_collector.log
INFO: Starting injectori part1:/aplicaciones/njmoninfluxdb/injector.py:9354
INFO: Starting injectori part2:port:8282
INFO: not opening the JSON output file as requested:preamble-here njmon serverclient 2019-03-25T19:28:33 xxxxxxxxx 12 postamble-here:-1
INFO: Finished loops:serverclient:4
Log Client
/usr/lbin/njmon -s60 -c1440 -p 8282 -i srvnjmon01 -X xxxxxxxxx -d
get_hostname called line 208
create_socket called line 179
socket: trying to connect to 192.168.1.10:8282
hello string="preamble-here njmon serverclient 2019-03-25T19:30:38 xxxxxxxxx 12 postamble-here"
forking for daemon making if debug=1 === 0
child running
proc_stat called line 931
proc_diskstats called line 1092
proc_net_dev called line 1279
gpfs_init called line 659
date_time called line 471
pstring(datetime,2019-03-25T16:31:38) count=109
pstring(UTC,2019-03-25T19:31:38) count=155
plong(snapshot_seconds,60) count=195
plong(snapshot_maxloops,1440) count=238
plong(snapshot_loop,0) count=274
identity called line 1737
get_hostname called line 208
pstring(hostname,serverclient) count=353
pstring(shorthostname,serverclient) count=399
pstring(fullhostname1,serverclient.ar.bsch) count=453
pstring(lo_IP4,127.0.0.1) count=492
pstring(eth0_IP4,192.168.1.10) count=538
pstring(lo_IP6,::1) count=571
pstring(eth0_IP6,fe80::250:56ff:fe82:5f) count=625
pstring(njmon_command,/usr/lbin/njmon) count=677
pstring(njmon_version,20@13/03/2019) count=727
pstring(username,root) count=763
plong(userid,0) count=792
etc_os_release called line 1390
proc_version called line 1425
pstring(version,Linux version 2.6.18-409.el5 (mockbuild@x86-031.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)) #1 SMP Fri Feb 12 06:37:28 EST 2016) count=1022
lscpu called line 1450
sh: /usr/bin/lscpu: No such file or directory
proc_stat called line 931
pdouble(user,0.7) count=1164
pdouble(nice,0.0) count=1200
pdouble(sys,0.2) count=1235
pdouble(idle,98.1) count=1272
pdouble(iowait,0.0) count=1310
pdouble(hardirq,0.0) count=1349
pdouble(softirq,0.1) count=1388
pdouble(steal,0.0) count=1425
pdouble(guest,271394308096.0) count=1473
pdouble(guestnice,30691716038131712.0) count=1530
pdouble(user,0.6) count=1620
pdouble(nice,0.0) count=1656
pdouble(sys,0.2) count=1691
pdouble(idle,97.9) count=1728
pdouble(iowait,0.0) count=1766
pdouble(hardirq,0.1) count=1805
................
thank you for all
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello I can implement everything without problems but with rh5 and 6 I can not make it work
I write a ticket but I put a topic here, maybe someone has already happened. thank you
PROBLEM: njmon starts but ends in a few minutes without registering anything in the base, this happens when client is redhat 5 and 6, I try to change to injector.py_v15 but I join the problem with redhat 7 :(
Injector: injector.py_v14
Collector: njmon_collector_v16
njmon: test version 18,19,21
injector.log
Injected snapshot 0 for localhost Database:njmon
njmon_collector.log
INFO: Starting injectori part1:/aplicaciones/njmoninfluxdb/injector.py:9354
INFO: Starting injectori part2:port:8282
INFO: not opening the JSON output file as requested:preamble-here njmon serverclient 2019-03-25T19:28:33 xxxxxxxxx 12 postamble-here:-1
INFO: Finished loops:serverclient:4
Log Client
/usr/lbin/njmon -s60 -c1440 -p 8282 -i srvnjmon01 -X xxxxxxxxx -d
get_hostname called line 208
create_socket called line 179
socket: trying to connect to 192.168.1.10:8282
hello string="preamble-here njmon serverclient 2019-03-25T19:30:38 xxxxxxxxx 12 postamble-here"
forking for daemon making if debug=1 === 0
child running
proc_stat called line 931
proc_diskstats called line 1092
proc_net_dev called line 1279
gpfs_init called line 659
date_time called line 471
pstring(datetime,2019-03-25T16:31:38) count=109
pstring(UTC,2019-03-25T19:31:38) count=155
plong(snapshot_seconds,60) count=195
plong(snapshot_maxloops,1440) count=238
plong(snapshot_loop,0) count=274
identity called line 1737
get_hostname called line 208
pstring(hostname,serverclient) count=353
pstring(shorthostname,serverclient) count=399
pstring(fullhostname1,serverclient.ar.bsch) count=453
pstring(lo_IP4,127.0.0.1) count=492
pstring(eth0_IP4,192.168.1.10) count=538
pstring(lo_IP6,::1) count=571
pstring(eth0_IP6,fe80::250:56ff:fe82:5f) count=625
pstring(njmon_command,/usr/lbin/njmon) count=677
pstring(njmon_version,20@13/03/2019) count=727
pstring(username,root) count=763
plong(userid,0) count=792
etc_os_release called line 1390
proc_version called line 1425
pstring(version,Linux version 2.6.18-409.el5 (mockbuild@x86-031.build.eng.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)) #1 SMP Fri Feb 12 06:37:28 EST 2016) count=1022
lscpu called line 1450
sh: /usr/bin/lscpu: No such file or directory
proc_stat called line 931
pdouble(user,0.7) count=1164
pdouble(nice,0.0) count=1200
pdouble(sys,0.2) count=1235
pdouble(idle,98.1) count=1272
pdouble(iowait,0.0) count=1310
pdouble(hardirq,0.0) count=1349
pdouble(softirq,0.1) count=1388
pdouble(steal,0.0) count=1425
pdouble(guest,271394308096.0) count=1473
pdouble(guestnice,30691716038131712.0) count=1530
pdouble(user,0.6) count=1620
pdouble(nice,0.0) count=1656
pdouble(sys,0.2) count=1691
pdouble(idle,97.9) count=1728
pdouble(iowait,0.0) count=1766
pdouble(hardirq,0.1) count=1805
................
thank you for all
Solved in a new version