Search found 5 matches

by KOUMNI
Sun Nov 03, 2019 6:00 am
Forum: Open Source Nagios Projects
Topic: MRTG Config
Replies: 7
Views: 3430

Re: MRTG Config

Can you post the Nagios configuration you are using for the Port 1 Bandwidth Usage check? Did you setup a cron job to run the MRTG application which gathers the Bandwidth information the check_mrtgtraf plugin needs to calculate the bandwidth? Check this link for instructions for MRTG. https://oss.o...
by KOUMNI
Thu Oct 31, 2019 8:52 am
Forum: Open Source Nagios Projects
Topic: MRTG Config
Replies: 7
Views: 3430

Re: MRTG Config

cdienger wrote:I would also look at the /etc/mrtg/mrtg.cfg file which will have information about the log location and format.
Here it is
by KOUMNI
Thu Oct 31, 2019 8:47 am
Forum: Open Source Nagios Projects
Topic: MRTG Config
Replies: 7
Views: 3430

Re: MRTG Config

Hello koumni , Have you checked permissions on that directory to make sure it is writable/accessible by the nagios account on the server? Please post the output to the following commands. ls -ld /var/lib/mrtg ls -l /var/lib/mrtg nagios@sn-srv-nagios:~$ ls -ld /var/lib/mrtg drwxrwxrwx 2 nagios nagio...
by KOUMNI
Sun Oct 27, 2019 4:24 am
Forum: Open Source Nagios Projects
Topic: -bash: event not found
Replies: 1
Views: 1625

-bash: event not found

Hello I'm trying to execute this command check_local_mrtgtraf!/var/www/mrtg/172.20.232.1_ten-gigabitethernet1_0_4.log!AVG!1000000,1000000!5000000,5000000!10 But I am getting this error -bash: !/var/www/mrtg/172.20.232.1_ten: event not found knwing that this files exists nagios@sn-srv-nagios:/var/www...
by KOUMNI
Sun Oct 27, 2019 3:34 am
Forum: Open Source Nagios Projects
Topic: MRTG Config
Replies: 7
Views: 3430

MRTG Config

Hello, I want to monitor my switch using MRTG, but something is not well configured, I followed some of the topics for the error that I have which is : " check_mrtgtraf: Unable to open MRTG log file " knowing that /var/www/mrtg contains some interface logs I read in some forums that /var/l...