Page 1 of 2
Nagios 5.5
Posted: Tue Oct 30, 2018 2:52 pm
by dfmco
Bandwidth monitors graphs are not working on. When pulled up they are blank
Re: Nagios 5.5
Posted: Tue Oct 30, 2018 3:13 pm
by npolovenko
Hi,
@dfmco. Could you send in your system profile so that I can take a look at the log files?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it to a cloud storage of your choice. Then share a link with me in a personal message.
After you send a profile please post something in this thread to bring it back up in the support queue.
Re: Nagios 5.5
Posted: Tue Oct 30, 2018 4:27 pm
by dfmco
I checked permissions and they were ok. I have included the output of mrtg command
[root@bm-qr-nagiosxi conf.d]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:13: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:26:20: ERROR: Target[10.255.2.154_11][_IN_] ' $target->[65]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.154_11][_OUT_] ' $target->[65]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.144_11][_IN_] ' $target->[100]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.144_11][_OUT_] ' $target->[100]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.142_10][_IN_] ' $target->[107]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.142_10][_OUT_] ' $target->[107]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.140_10][_IN_] ' $target->[115]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.140_10][_OUT_] ' $target->[115]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.138_11][_IN_] ' $target->[124]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.138_11][_OUT_] ' $target->[124]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.136_10][_IN_] ' $target->[132]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.136_10][_OUT_] ' $target->[132]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.132_11][_IN_] ' $target->[141]{$mode} ' did not eval into defined data
2018-10-30 16:26:20: ERROR: Target[10.255.2.132_11][_OUT_] ' $target->[141]{$mode} ' did not eval into defined data
Re: Nagios 5.5
Posted: Tue Oct 30, 2018 4:36 pm
by dfmco
[root@bm-qr-nagiosxi conf.d]# rm -f /etc/mrtg/conf.d/10.255.2.136.cfg
[root@bm-qr-nagiosxi conf.d]# LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:01: WARNING: Expected a number but got 'noSuchInstance'
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.166_10.rrd with '1540935304:45390222:52255411' /var/lib/mrtg/10.255.2.166_10.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.166_11.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.166_11.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.166_12.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.166_12.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.166_13.rrd with '1540935304:45389858:52256934' /var/lib/mrtg/10.255.2.166_13.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.165_2.rrd with '1540935304:22307927659:237740912300' /var/lib/mrtg/10.255.2.165_2.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.165_4.rrd with '1540935304:236682654762:21420601350' /var/lib/mrtg/10.255.2.165_4.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.165_5.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.165_5.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.160_2.rrd with '1540935306:4553726431:4267992779' /var/lib/mrtg/10.255.2.160_2.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.160_8.rrd with '1540935306:154690419:81461899' /var/lib/mrtg/10.255.2.160_8.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.160_9.rrd with '1540935306:0:0' /var/lib/mrtg/10.255.2.160_9.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.160_10.rrd with '1540935306:137977390:90277431' /var/lib/mrtg/10.255.2.160_10.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.159_1.rrd with '1540935306:4084982433:4071934772' /var/lib/mrtg/10.255.2.159_1.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.156_2.rrd with '1540935304:4952325246:4606400022' /var/lib/mrtg/10.255.2.156_2.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.156_8.rrd with '1540935304:170532950:126675065' /var/lib/mrtg/10.255.2.156_8.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.156_9.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.156_9.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.156_11.rrd with '1540935304:93858214:100839932' /var/lib/mrtg/10.255.2.156_11.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.155_1.rrd with '1540935305:4454012114:4472982263' /var/lib/mrtg/10.255.2.155_1.rrd: illegal attempt to update using time 1540935305 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.155_2.rrd with '1540935305:32757478239:37835153993' /var/lib/mrtg/10.255.2.155_2.rrd: illegal attempt to update using time 1540935305 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.155_3.rrd with '1540935305:51601767541:44946374855' /var/lib/mrtg/10.255.2.155_3.rrd: illegal attempt to update using time 1540935305 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.154_1.rrd with '1540935305:856591241:1779162034' /var/lib/mrtg/10.255.2.154_1.rrd: illegal attempt to update using time 1540935305 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Target[10.255.2.154_11][_IN_] ' $target->[65]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Target[10.255.2.154_11][_OUT_] ' $target->[65]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.152_8.rrd with '1540935306:247396537:166231716' /var/lib/mrtg/10.255.2.152_8.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.152_11.rrd with '1540935306:184742623:126112721' /var/lib/mrtg/10.255.2.152_11.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.151_1.rrd with '1540935307:1235026814:407976107' /var/lib/mrtg/10.255.2.151_1.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.151_2.rrd with '1540935307:63864917508:83123645276' /var/lib/mrtg/10.255.2.151_2.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.151_3.rrd with '1540935307:97169695184:76320401150' /var/lib/mrtg/10.255.2.151_3.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.149_1.rrd with '1540935307:962127203:1014713042' /var/lib/mrtg/10.255.2.149_1.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.149_2.rrd with '1540935307:46977102683:53857557339' /var/lib/mrtg/10.255.2.149_2.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.149_3.rrd with '1540935307:71810154532:63602636771' /var/lib/mrtg/10.255.2.149_3.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.148_1.rrd with '1540935307:4819506009:4747762998' could not lock RRD
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.146_7.rrd with '1540935303:0:0' /var/lib/mrtg/10.255.2.146_7.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.146_9.rrd with '1540935303:0:0' /var/lib/mrtg/10.255.2.146_9.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.145_1.rrd with '1540935303:91117138049:61848763776' /var/lib/mrtg/10.255.2.145_1.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.145_3.rrd with '1540935303:78909540425:107559961754' /var/lib/mrtg/10.255.2.145_3.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.145_4.rrd with '1540935303:1128861755:1103936740' /var/lib/mrtg/10.255.2.145_4.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.145_7.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.145_7.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.145_9.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.145_9.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.144_1.rrd with '1540935304:8580612663:9548038938' /var/lib/mrtg/10.255.2.144_1.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.144_2.rrd with '1540935304:8974270773:8376919473' /var/lib/mrtg/10.255.2.144_2.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.144_8.rrd with '1540935304:255001417:272212062' /var/lib/mrtg/10.255.2.144_8.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Target[10.255.2.144_11][_IN_] ' $target->[100]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Target[10.255.2.144_11][_OUT_] ' $target->[100]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Target[10.255.2.142_10][_IN_] ' $target->[107]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Target[10.255.2.142_10][_OUT_] ' $target->[107]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.141_1.rrd with '1540935306:2206702602:2531639880' /var/lib/mrtg/10.255.2.141_1.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.141_2.rrd with '1540935306:77202523129:89514730218' /var/lib/mrtg/10.255.2.141_2.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.141_3.rrd with '1540935306:120113593906:105196834205' /var/lib/mrtg/10.255.2.141_3.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.139_1.rrd with '1540935306:1047337632:699380241' /var/lib/mrtg/10.255.2.139_1.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.139_2.rrd with '1540935306:257836761293:161699725902' /var/lib/mrtg/10.255.2.139_2.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.139_3.rrd with '1540935306:187069090782:275992363694' /var/lib/mrtg/10.255.2.139_3.rrd: illegal attempt to update using time 1540935306 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.138_1.rrd with '1540935307:13694971802:13947810448' /var/lib/mrtg/10.255.2.138_1.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.138_2.rrd with '1540935307:15410461971:13977754383' /var/lib/mrtg/10.255.2.138_2.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.138_8.rrd with '1540935307:328929121:380414076' /var/lib/mrtg/10.255.2.138_8.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Target[10.255.2.138_11][_IN_] ' $target->[119]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Target[10.255.2.138_11][_OUT_] ' $target->[119]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.135_3.rrd with '1540935307:120816230676:103425422349' /var/lib/mrtg/10.255.2.135_3.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935309 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.132_1.rrd with '1540935302:12097530764:12588549898' /var/lib/mrtg/10.255.2.132_1.rrd: illegal attempt to update using time 1540935302 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.132_2.rrd with '1540935302:13287239511:12177225084' /var/lib/mrtg/10.255.2.132_2.rrd: illegal attempt to update using time 1540935302 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.132_8.rrd with '1540935302:305304043:957669554' /var/lib/mrtg/10.255.2.132_8.rrd: illegal attempt to update using time 1540935302 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.132_10.rrd with '1540935302:209642754:795975228' /var/lib/mrtg/10.255.2.132_10.rrd: illegal attempt to update using time 1540935302 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Target[10.255.2.132_11][_IN_] ' $target->[130]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Target[10.255.2.132_11][_OUT_] ' $target->[130]{$mode} ' did not eval into defined data
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.132_11.rrd with '1540935302:U:U' /var/lib/mrtg/10.255.2.132_11.rrd: illegal attempt to update using time 1540935302 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.131_1.rrd with '1540935303:12588547653:12097530869' /var/lib/mrtg/10.255.2.131_1.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.131_2.rrd with '1540935303:89495288899:94592561633' /var/lib/mrtg/10.255.2.131_2.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.131_3.rrd with '1540935303:126983749664:118730700768' /var/lib/mrtg/10.255.2.131_3.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.130_1.rrd with '1540935303:1430978661:1150173394' /var/lib/mrtg/10.255.2.130_1.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.130_3.rrd with '1540935303:16947450148:16829059420' /var/lib/mrtg/10.255.2.130_3.rrd: illegal attempt to update using time 1540935303 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.130_4.rrd with '1540935304:174661063:261303607' /var/lib/mrtg/10.255.2.130_4.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.130_7.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.130_7.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.130_9.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.130_9.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.129_1.rrd with '1540935304:3047475985267:4173290232930' /var/lib/mrtg/10.255.2.129_1.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.129_3.rrd with '1540935304:3078721440766:1718985141008' /var/lib/mrtg/10.255.2.129_3.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.129_4.rrd with '1540935304:22668372370:236705802772' /var/lib/mrtg/10.255.2.129_4.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.129_7.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.129_7.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.255.2.129_9.rrd with '1540935304:0:0' /var/lib/mrtg/10.255.2.129_9.rrd: illegal attempt to update using time 1540935304 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_5.rrd with '1540935307:0:0' /var/lib/mrtg/10.118.217.39_5.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_6.rrd with '1540935307:21611743212:3367981835' /var/lib/mrtg/10.118.217.39_6.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_7.rrd with '1540935307:8772293056:3356692977' /var/lib/mrtg/10.118.217.39_7.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_9.rrd with '1540935307:412684980:19651218' /var/lib/mrtg/10.118.217.39_9.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_10.rrd with '1540935307:0:0' /var/lib/mrtg/10.118.217.39_10.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_11.rrd with '1540935307:45484384:64960' /var/lib/mrtg/10.118.217.39_11.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_12.rrd with '1540935307:2629002391:2761733518' /var/lib/mrtg/10.118.217.39_12.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_200000000.rrd with '1540935307:0:0' /var/lib/mrtg/10.118.217.39_200000000.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_400000000.rrd with '1540935307:0:0' /var/lib/mrtg/10.118.217.39_400000000.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_400000033.rrd with '1540935307:0:0' /var/lib/mrtg/10.118.217.39_400000033.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.39_400000200.rrd with '1540935307:248398507:398010510' /var/lib/mrtg/10.118.217.39_400000200.rrd: illegal attempt to update using time 1540935307 when last update time is 1540935308 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_5.rrd with '1540935311:4205183463:151468490' /var/lib/mrtg/10.118.217.136_5.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_6.rrd with '1540935311:250107212829:196924589886' /var/lib/mrtg/10.118.217.136_6.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_7.rrd with '1540935311:1364427057600:612071253260' /var/lib/mrtg/10.118.217.136_7.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_8.rrd with '1540935311:3277853680:546112' /var/lib/mrtg/10.118.217.136_8.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_10.rrd with '1540935311:0:0' /var/lib/mrtg/10.118.217.136_10.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_11.rrd with '1540935311:429338110552:1169922529224' /var/lib/mrtg/10.118.217.136_11.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_200000000.rrd with '1540935311:0:0' /var/lib/mrtg/10.118.217.136_200000000.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_400000000.rrd with '1540935311:0:0' /var/lib/mrtg/10.118.217.136_400000000.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_400000032.rrd with '1540935311:214724764:543876326' /var/lib/mrtg/10.118.217.136_400000032.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_400000060.rrd with '1540935311:208022970:518628654' /var/lib/mrtg/10.118.217.136_400000060.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_400000080.rrd with '1540935311:3373038410:988683958' /var/lib/mrtg/10.118.217.136_400000080.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
2018-10-30 16:35:11: ERROR: Cannot update /var/lib/mrtg/10.118.217.136_400000200.rrd with '1540935311:1247301909:3087581626' /var/lib/mrtg/10.118.217.136_400000200.rrd: illegal attempt to update using time 1540935311 when last update time is 1540935311 (minimum one second step)
[root@bm-qr-nagiosxi conf.d]#
Re: Nagios 5.5
Posted: Tue Oct 30, 2018 4:56 pm
by npolovenko
@dfmco, Your ram disk is 100% full.
tmpfs 500M 500M 0 100% /var/nagiosramdisk
Please run the following command to see what takes up most space on the ram disk:
find /var/nagiosramdisk -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
Re: Nagios 5.5
Posted: Tue Oct 30, 2018 5:35 pm
by dfmco
Here is the output
[root@bm-qr-nagiosxi ~]# find /var/nagiosramdisk -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
24K /var/nagiosramdisk/spool/perfdata/1540309731.perfdata.service
24K /var/nagiosramdisk/spool/perfdata/1540310092.perfdata.service
24K /var/nagiosramdisk/spool/perfdata/1540310332.perfdata.service
24K /var/nagiosramdisk/spool/perfdata/1540310691.perfdata.service
28K /var/nagiosramdisk/spool/perfdata/1539980674.perfdata.service
28K /var/nagiosramdisk/spool/perfdata/1539983119.perfdata.service
28K /var/nagiosramdisk/spool/perfdata/1540309597.perfdata.service
32K /var/nagiosramdisk/spool/perfdata/1540134022.perfdata.service
32K /var/nagiosramdisk/spool/perfdata/1540220421.perfdata.service
436K /var/nagiosramdisk/objects.cache
[root@bm-qr-nagiosxi ~]#
Re: Nagios 5.5
Posted: Wed Oct 31, 2018 9:41 am
by npolovenko
@dfmco, The ramdisk is 500MB full and top 10 files weigh no more then 20-30kb. You must have lots of spooled perfdata files in the /var/nagiosramdisk/spool/perfdata/ folder. I believe this is happening because you forgot to change one line in the npcd.cfg file, and nagios is still looking at the old spool folder ---> /usr/local/nagios/var/spool/perfdata/, and its not processing the right perfdata.
Open the following file:
/usr/local/nagios/etc/pnp/npcd.cfg
And change this line:
perfdata_spool_dir = /usr/local/nagios/var/spool/perfdata/
To:
perfdata_spool_dir = /var/nagiosramdisk/spool/perfdata/
Now, I highly suggest deleting all the spooled files from the ramdisk. Delete all files from this folder:
/var/nagiosramdisk/spool/perfdata/
Then restart the npcd:
service npcd restart
Wait for 15 minutes for the graphs to show up.
Re: Nagios 5.5
Posted: Wed Oct 31, 2018 11:09 am
by dfmco
i updated the cnfg file and then ran rm -rf /var/nagiosramdisk/spool/perfdata/ to clean up the directory. The NPCD service will not restart. I am shoing alot of files
[root@bm-qr-nagiosxi ~]# find /var/nagiosramdisk -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
0 /var/nagiosramdisk/spool/xidpe/1541001787.perfdata.host
0 /var/nagiosramdisk/spool/xidpe/1541001787.perfdata.service
4.0K /var/nagiosramdisk/host-perfdata
4.0K /var/nagiosramdisk/spool/xidpe/1541001802.perfdata.host
8.0K /var/nagiosramdisk/service-perfdata
16K /var/nagiosramdisk/spool/xidpe/1541001801.perfdata.service
436K /var/nagiosramdisk/objects.cache
540K /var/nagiosramdisk/status.dat
[root@bm-qr-nagiosxi ~]# find /var/nagiosramdisk/spool/perfdata/ -type f -print0 | xargs -0 du | sort -n | tail -10 | cut -f2 | xargs -I{} du -sh {}
find: ‘/var/nagiosramdisk/spool/perfdata/’: No such file or directory
28K ./scripts
1.3M ./.cache/pip/http/9
1.3M ./.cache/pip/http/9/3
1.3M ./.cache/pip/http/9/3/4
1.3M ./.cache/pip/http/9/3/4/0
1.3M ./.cache/pip/http/9/3/4/0/9
1.3M ./.cache
1.3M ./.cache/pip
1.3M ./.cache/pip/http
1.4M .
Re: Nagios 5.5
Posted: Wed Oct 31, 2018 11:19 am
by npolovenko
@dfmco, Did you delte the folder by accident?
find: ‘/var/nagiosramdisk/spool/perfdata/’: No such file or directory
If so you need to recreate it:
mkdir /var/nagiosramdisk/spool/perfdata/
chmod -R +x /var/nagiosramdisk/spool/perfdata/
chown -R nagios:nagios /var/nagiosramdisk/spool/perfdata/
Then restart npcd and show me the output of the command.
Re: Nagios 5.5
Posted: Wed Oct 31, 2018 11:26 am
by dfmco
I have recreated the dir but am not receiving any output. The service still will not start