sysusage icon indicating copy to clipboard operation
sysusage copied to clipboard

rrd files have nans.

Open cb371j opened this issue 5 years ago • 5 comments

have installed sysusage (many times) on ubuntu and centos. rrdfiles not getting sar data... rows are all NaN.
NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN NaNNaNNaN

graphs create with correct menu items but no data.. would really appreciate some help.

cb371j avatar Jun 19 '20 14:06 cb371j

Which version of Ubuntu?

darold avatar Jun 19 '20 14:06 darold

ubuntu is bionic 18.04 and centos 7. i tested with it last year and it worked. have no idea what i'm doing wrong.


From: Gilles Darold [email protected] Sent: Friday, June 19, 2020 10:39 AM To: darold/sysusage Cc: BILLOVITS, CYNTHIA; Author Subject: Re: [darold/sysusage] rrd files have nans. (#7)

Which version of Ubuntu?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_darold_sysusage_issues_7-23issuecomment-2D646671983&d=DwMCaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2IlypPsc9zvDX1uFXPu0EA&m=De0GEcCrJVy24t_HGf-zs0pk0zPCKXkFOl8lFFQR4n8&s=CtYEPbuGmOdCs7rw8R4uPGAaPlHJ9TAQsGPWfb7kKA8&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEM5PCXTRFJPW4XK4ZUJPBLRXN2BZANCNFSM4OCZFE2Q&d=DwMCaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2IlypPsc9zvDX1uFXPu0EA&m=De0GEcCrJVy24t_HGf-zs0pk0zPCKXkFOl8lFFQR4n8&s=AHZYXV25QVGww1-m8w3jFWBGGimaTxkPmxTkYKp2ClU&e=.

cb371j avatar Jun 19 '20 14:06 cb371j

Does sysusage report an error when executed manually?

sudo /usr/local/sysusage/bin/sysusage

darold avatar Jun 19 '20 14:06 darold

no errors at all. debug appears to be working . for some reason it just refuses to write the values into the rrd files, even if I open them all the way with 777. permissions/ownership changes have no effect.

CPU: 37 => steal: 0.00, guest: 0.00 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpu37 N:0.200000000000003:0.00:0 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpudist37 N:0.20:0.00:0.00 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpuvirt37 N:0.00:0.00:0 CPU: 19 => used: 0.400000000000006, iowait: 0.00 CPU: 19 => user: 0.20, nice: 0.00, system: 0.20 CPU: 19 => steal: 0.00, guest: 0.00 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpu19 N:0.400000000000006:0.00:0 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpudist19 N:0.20:0.00:0.20 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpuvirt19 N:0.00:0.00:0 CPU: 5 => used: 1, iowait: 0.40 CPU: 5 => user: 0.20, nice: 0.00, system: 0.20 CPU: 5 => steal: 0.00, guest: 0.00 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpu5 N:1:0.40:0 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpudist5 N:0.20:0.00:0.20 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cpuvirt5 N:0.00:0.00:0 TCP: Active => 6.80/s, Passive => 9.00/s, Received segment => 548.80/s, Sent segment => 541.80/s insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/tcp N:6.80:9.00:0 insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/tcpseg N:548.80:541.80:0 WORK: memory needed => 34903760896 B, Percent => 17.35 % insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/work N:34903760896:0:0 MEM: used => 76286965760 B, real used (without shared/buffer/cache) => 25395536896 B, cached => 50891428864 B insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/mem N:76286965760:25395536896:50891428864 CSWCH: Context Switch => 13136.00/s insertIntData(oe1-controller-1): update /usr/local/sysusage/rrdfiles/oe1-controller-1/cswch N:13136.00:0:0 Loop took: 5 wallclock secs ( 0.00 usr 0.00 sys + 0.05 cusr 0.08 csys = 0.13 CPU)


From: Gilles Darold [email protected] Sent: Friday, June 19, 2020 10:53 AM To: darold/sysusage Cc: BILLOVITS, CYNTHIA; Author Subject: Re: [darold/sysusage] rrd files have nans. (#7)

Does sysusage report an error when executed manually?

sudo /usr/local/sysusage/bin/sysusage

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_darold_sysusage_issues_7-23issuecomment-2D646681057&d=DwMCaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2IlypPsc9zvDX1uFXPu0EA&m=BJH13q0hsqn5_IRA6Mdhzcd4y1GIAsi1eyMGUU4n37s&s=etZh3mR4KKKKQFuULHPVp9tGhqg-WeXpOfIbhlAHDhQ&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AEM5PCUDTJAPMAUNAQOSUGLRXN3X5ANCNFSM4OCZFE2Q&d=DwMCaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2IlypPsc9zvDX1uFXPu0EA&m=BJH13q0hsqn5_IRA6Mdhzcd4y1GIAsi1eyMGUU4n37s&s=AeuY_PdDKJMw9FAg831LtVxF2y3c9uKrfOn2W3J7l10&e=.

cb371j avatar Jun 19 '20 14:06 cb371j

I just make a fresh install on an Ubuntu 18.04 and I do not have any problem. How do you get the NaN report? And does running manually /usr/local/sysusage/bin/sysusagejqgraph -d reports any error and look at the right place for rrdfiles (should be /usr/local/sysusage/rrdfiles/oe1-controller-1/)?

darold avatar Jun 19 '20 15:06 darold