check_mrtgtraf

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: check_mrtgtraf

Post by dwhitfield »

It's chopped off so couldn't see command. Thanks for the clarification. As an aside, it's much easier for people to search the forums if you post text output as text rather than a screenshot.

What's the output of the second command if you run these two commands in order?

Code: Select all

su nagios
cat /var/lib/mrtg/192.168.2.126_182.log
jmac727
Posts: 35
Joined: Tue Apr 25, 2017 4:37 pm

Re: check_mrtgtraf

Post by jmac727 »

No such file or directory
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: check_mrtgtraf

Post by dwhitfield »

Looks like the chown didn't go through or that file got deleted from your 8:22am post.

Please run ll /var/lib/mrtg/ and put the output in a code block (it's the 5th button from the left in the edit screen)
jmac727
Posts: 35
Joined: Tue Apr 25, 2017 4:37 pm

Re: check_mrtgtraf

Post by jmac727 »

Code: Select all

[nagios@localhost jmaq]$ ll /var/lib/mrtg/
total 2544
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_102.log
-rw-r--r-- 1 apache nagios 48197 May  8 16:36 192.168.2.126_10.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_11.log
-rw-r--r-- 1 apache nagios 48201 May  8 16:36 192.168.2.126_12.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_13.log
-rw-r--r-- 1 apache nagios 48200 May  8 16:36 192.168.2.126_14.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_15.log
-rw-r--r-- 1 apache nagios 48201 May  8 16:36 192.168.2.126_16.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_17.log
-rw-r--r-- 1 apache nagios 48197 May  8 16:36 192.168.2.126_18.log
-rw-r--r-- 1 apache nagios 48204 May  8 16:36 192.168.2.126_19.log
-rw-r--r-- 1 apache nagios 48204 May  8 16:36 192.168.2.126_1.log
-rw-r--r-- 1 apache nagios 48201 May  8 16:36 192.168.2.126_20.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_21.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_22.log
-rw-r--r-- 1 apache nagios 48204 May  8 16:36 192.168.2.126_23.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_24.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_25.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_26.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_27.log
-rw-r--r-- 1 apache nagios 48199 May  8 16:36 192.168.2.126_28.log
-rw-r--r-- 1 apache nagios 48202 May  8 16:36 192.168.2.126_29.log
-rw-r--r-- 1 apache nagios 48204 May  8 16:36 192.168.2.126_2.log
-rw-r--r-- 1 apache nagios 48193 May  8 16:36 192.168.2.126_30.log
-rw-r--r-- 1 apache nagios 48202 May  8 16:36 192.168.2.126_31.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_32.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_33.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_34.log
-rw-r--r-- 1 apache nagios 48200 May  8 16:36 192.168.2.126_35.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_36.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_37.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_38.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_39.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_3.log
-rw-r--r-- 1 apache nagios 48200 May  8 16:36 192.168.2.126_40.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_41.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_42.log
-rw-r--r-- 1 apache nagios 48202 May  8 16:36 192.168.2.126_43.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_44.log
-rw-r--r-- 1 apache nagios 48201 May  8 16:36 192.168.2.126_45.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_46.log
-rw-r--r-- 1 apache nagios 48194 May  8 16:36 192.168.2.126_47.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_48.log
-rw-r--r-- 1 apache nagios 48206 May  8 16:36 192.168.2.126_49.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_4.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_50.log
-rw-r--r-- 1 apache nagios 48207 May  8 16:36 192.168.2.126_51.log
-rw-r--r-- 1 apache nagios 48196 May  8 16:36 192.168.2.126_52.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_5.log
-rw-r--r-- 1 apache nagios 48202 May  8 16:36 192.168.2.126_6.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_7.log
-rw-r--r-- 1 apache nagios 48180 May  8 16:36 192.168.2.126_8.log
-rw-r--r-- 1 apache nagios 48203 May  8 16:36 192.168.2.126_9.log
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: check_mrtgtraf

Post by dwhitfield »

Is 192.168.2.126 the IP for the HP device giving the error? Are the checks in the UI still updating with the appropriate time?
Locked