Did you get any install logs from these? Did compile throw any errors? Would help to get some information. Also by 'but still problem' do you mean you are still getting the same error message from mrtg: Unable to open MRTG file?Hi,
I also recompiled nagios-plugin and re-add network device but still problem.
My system: - Centos: 6.6
- Nagios Core 4.0.8
- Nagios plugin: 2.0.3
Any help is appreciated,
Another timeout issue
Re: Another timeout issue
/Luke
Re: Another timeout issue
Hi,
These is some info from logs:
If i can provide any logs, please let me know.
Best regards,
These is some info from logs:
Config file:# tail -f /usr/local/nagios/var/nagios.log
[1418766740] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Bandwidth Usage;UNKNOWN;notify-service-by-email;check_mrtgtraf: Unable to open MRTG log file
[1418768618] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Link Status;CRITICAL;notify-service-by-email;SNMP CRITICAL - *Such Instance currently exists at this OID*
[1418769950] Auto-save of retention data completed successfully.
[1418770340] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Bandwidth Usage;UNKNOWN;notify-service-by-email;check_mrtgtraf: Unable to open MRTG log file
[1418772816] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Link Status;CRITICAL;notify-service-by-email;SNMP CRITICAL - *Such Instance currently exists at this OID*
[1418773550] Auto-save of retention data completed successfully.
[1418773940] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Bandwidth Usage;UNKNOWN;notify-service-by-email;check_mrtgtraf: Unable to open MRTG log file
[1418776416] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Link Status;CRITICAL;notify-service-by-email;SNMP CRITICAL - *Such Instance currently exists at this OID*
[1418777150] Auto-save of retention data completed successfully.
[1418777540] SERVICE NOTIFICATION: nagiosadmin;C4507R_01;Port 1 Bandwidth Usage;UNKNOWN;notify-service-by-email;check_mrtgtraf: Unable to open MRTG log file
Does the check_mk related this issue?#/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/check_mk.d/check_mk_templates.cfg', starting at line 88)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/check_mk.d/check_mk_templates.cfg', starting at line 157)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 17 services.
Checked 3 hosts.
Checked 3 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 34 commands.
Checked 6 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 3 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 6 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
If i can provide any logs, please let me know.
Best regards,
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Another timeout issue
The problem is your mrtg is not generating the file you are checking against
Your command was looking for /var/www/html/mrtg/10.126.123.1_l.log
Which didn't exist when you listed the directory /var/www/html/mrtg
You will need to check your mrtg configuration file as it looks like it is not configured to check bandwidth for that.
In addition, once mrtg is configured correctly, you will still need to change the object to check
/var/www/html/mrtg/10.126.123.1_1.log
not
/var/www/html/mrtg/10.126.123.1_l.log
Your command was looking for /var/www/html/mrtg/10.126.123.1_l.log
Which didn't exist when you listed the directory /var/www/html/mrtg
You will need to check your mrtg configuration file as it looks like it is not configured to check bandwidth for that.
In addition, once mrtg is configured correctly, you will still need to change the object to check
/var/www/html/mrtg/10.126.123.1_1.log
not
/var/www/html/mrtg/10.126.123.1_l.log
Re: Another timeout issue
Hi,
I changed the object to check on switch.cfg as below:
Here is the listed of the directory /var/www/html/mrtg:
I did not see the 10.126.123.1_1.log. May i have to change number 1 to other number?
Any help is appreciated
EDIT: put huge directory in a code block.
I changed the object to check on switch.cfg as below:
But still no luck.# Monitor bandwidth via MRTG logs
define service{
use generic-service ; Inherit values from a template
host_name C4507R_01
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/www/html/mrtg/10.126.123.1_1.log!AVG!1000000,1000000!5000000,5000000!10
}
Here is the listed of the directory /var/www/html/mrtg:
Code: Select all
total 10180
-rw-r--r-- 1 apache apache 1562 Dec 8 15:25 10.126.123.1_10-day.png
-rw-r--r-- 1 apache apache 6441 Dec 8 15:25 10.126.123.1_10.html
-rw-r--r-- 1 apache apache 48252 Dec 8 15:25 10.126.123.1_10.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_10-month.png
-rw-r--r-- 1 apache apache 48215 Dec 8 15:20 10.126.123.1_10.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_10.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_10-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_10-year.png
-rw-r--r-- 1 apache apache 1564 Dec 8 15:25 10.126.123.1_11-day.png
-rw-r--r-- 1 apache apache 6425 Dec 8 15:25 10.126.123.1_11.html
-rw-r--r-- 1 apache apache 48228 Dec 8 15:25 10.126.123.1_11.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_11-month.png
-rw-r--r-- 1 apache apache 48208 Dec 8 15:20 10.126.123.1_11.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_11.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_11-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_11-year.png
-rw-r--r-- 1 apache apache 1582 Dec 8 15:25 10.126.123.1_12-day.png
-rw-r--r-- 1 apache apache 6427 Dec 8 15:25 10.126.123.1_12.html
-rw-r--r-- 1 apache apache 48228 Dec 8 15:25 10.126.123.1_12.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_12-month.png
-rw-r--r-- 1 apache apache 48208 Dec 8 15:20 10.126.123.1_12.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_12.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_12-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_12-year.png
-rw-r--r-- 1 apache apache 1589 Dec 8 15:25 10.126.123.1_13-day.png
-rw-r--r-- 1 apache apache 6448 Dec 8 15:25 10.126.123.1_13.html
-rw-r--r-- 1 apache apache 48255 Dec 8 15:25 10.126.123.1_13.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_13-month.png
-rw-r--r-- 1 apache apache 48217 Dec 8 15:20 10.126.123.1_13.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_13.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_13-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_13-year.png
-rw-r--r-- 1 apache apache 1579 Dec 8 15:25 10.126.123.1_14-day.png
-rw-r--r-- 1 apache apache 6450 Dec 8 15:25 10.126.123.1_14.html
-rw-r--r-- 1 apache apache 48258 Dec 8 15:25 10.126.123.1_14.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_14-month.png
-rw-r--r-- 1 apache apache 48218 Dec 8 15:20 10.126.123.1_14.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_14.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_14-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_14-year.png
-rw-r--r-- 1 apache apache 1553 Dec 8 15:25 10.126.123.1_17-day.png
-rw-r--r-- 1 apache apache 6437 Dec 8 15:25 10.126.123.1_17.html
-rw-r--r-- 1 apache apache 48246 Dec 8 15:25 10.126.123.1_17.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_17-month.png
-rw-r--r-- 1 apache apache 48214 Dec 8 15:20 10.126.123.1_17.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_17.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_17-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_17-year.png
-rw-r--r-- 1 apache apache 1568 Dec 8 15:25 10.126.123.1_18-day.png
-rw-r--r-- 1 apache apache 6436 Dec 8 15:25 10.126.123.1_18.html
-rw-r--r-- 1 apache apache 48239 Dec 8 15:25 10.126.123.1_18.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_18-month.png
-rw-r--r-- 1 apache apache 48211 Dec 8 15:20 10.126.123.1_18.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_18.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_18-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_18-year.png
-rw-r--r-- 1 apache apache 1570 Dec 8 15:25 10.126.123.1_19-day.png
-rw-r--r-- 1 apache apache 6434 Dec 8 15:25 10.126.123.1_19.html
-rw-r--r-- 1 apache apache 48233 Dec 8 15:25 10.126.123.1_19.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_19-month.png
-rw-r--r-- 1 apache apache 48209 Dec 8 15:20 10.126.123.1_19.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_19.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_19-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_19-year.png
-rw-r--r-- 1 apache apache 1584 Dec 8 15:25 10.126.123.1_29-day.png
-rw-r--r-- 1 apache apache 6437 Dec 8 15:25 10.126.123.1_29.html
-rw-r--r-- 1 apache apache 48255 Dec 8 15:25 10.126.123.1_29.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_29-month.png
-rw-r--r-- 1 apache apache 48217 Dec 8 15:20 10.126.123.1_29.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_29.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_29-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_29-year.png
-rw-r--r-- 1 apache apache 1614 Dec 8 15:25 10.126.123.1_30-day.png
-rw-r--r-- 1 apache apache 6443 Dec 8 15:25 10.126.123.1_30.html
-rw-r--r-- 1 apache apache 48260 Dec 8 15:25 10.126.123.1_30.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_30-month.png
-rw-r--r-- 1 apache apache 48218 Dec 8 15:20 10.126.123.1_30.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_30.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_30-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_30-year.png
-rw-r--r-- 1 apache apache 1566 Dec 8 15:25 10.126.123.1_33-day.png
-rw-r--r-- 1 apache apache 6360 Dec 8 15:25 10.126.123.1_33.html
-rw-r--r-- 1 apache apache 48200 Dec 8 15:25 10.126.123.1_33.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_33-month.png
-rw-r--r-- 1 apache apache 48192 Dec 8 15:20 10.126.123.1_33.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_33.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_33-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_33-year.png
-rw-r--r-- 1 apache apache 1537 Dec 8 15:25 10.126.123.1_34-day.png
-rw-r--r-- 1 apache apache 6432 Dec 8 15:25 10.126.123.1_34.html
-rw-r--r-- 1 apache apache 48239 Dec 8 15:25 10.126.123.1_34.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_34-month.png
-rw-r--r-- 1 apache apache 48211 Dec 8 15:20 10.126.123.1_34.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_34.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_34-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_34-year.png
-rw-r--r-- 1 apache apache 1548 Dec 8 15:25 10.126.123.1_35-day.png
-rw-r--r-- 1 apache apache 6360 Dec 8 15:25 10.126.123.1_35.html
-rw-r--r-- 1 apache apache 48200 Dec 8 15:25 10.126.123.1_35.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_35-month.png
-rw-r--r-- 1 apache apache 48192 Dec 8 15:20 10.126.123.1_35.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_35.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_35-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_35-year.png
-rw-r--r-- 1 apache apache 1566 Dec 8 15:25 10.126.123.1_36-day.png
-rw-r--r-- 1 apache apache 6360 Dec 8 15:25 10.126.123.1_36.html
-rw-r--r-- 1 apache apache 48200 Dec 8 15:25 10.126.123.1_36.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_36-month.png
-rw-r--r-- 1 apache apache 48192 Dec 8 15:20 10.126.123.1_36.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_36.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_36-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_36-year.png
-rw-r--r-- 1 apache apache 1554 Dec 8 15:25 10.126.123.1_37-day.png
-rw-r--r-- 1 apache apache 6403 Dec 8 15:25 10.126.123.1_37.html
-rw-r--r-- 1 apache apache 48207 Dec 8 15:25 10.126.123.1_37.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_37-month.png
-rw-r--r-- 1 apache apache 48199 Dec 8 15:20 10.126.123.1_37.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_37.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_37-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_37-year.png
-rw-r--r-- 1 apache apache 1510 Dec 8 15:25 10.126.123.1_38-day.png
-rw-r--r-- 1 apache apache 6360 Dec 8 15:25 10.126.123.1_38.html
-rw-r--r-- 1 apache apache 48206 Dec 8 15:25 10.126.123.1_38.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_38-month.png
-rw-r--r-- 1 apache apache 48198 Dec 8 15:20 10.126.123.1_38.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_38.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_38-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_38-year.png
-rw-r--r-- 1 apache apache 1584 Dec 8 15:25 10.126.123.1_39-day.png
-rw-r--r-- 1 apache apache 6411 Dec 8 15:25 10.126.123.1_39.html
-rw-r--r-- 1 apache apache 48216 Dec 8 15:25 10.126.123.1_39.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_39-month.png
-rw-r--r-- 1 apache apache 48204 Dec 8 15:20 10.126.123.1_39.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_39.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_39-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_39-year.png
-rw-r--r-- 1 apache apache 1616 Dec 8 15:25 10.126.123.1_3-day.png
-rw-r--r-- 1 apache apache 6437 Dec 8 15:25 10.126.123.1_3.html
-rw-r--r-- 1 apache apache 48254 Dec 8 15:25 10.126.123.1_3.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_3-month.png
-rw-r--r-- 1 apache apache 48218 Dec 8 15:20 10.126.123.1_3.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_3.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_3-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_3-year.png
-rw-r--r-- 1 apache apache 1584 Dec 8 15:25 10.126.123.1_40-day.png
-rw-r--r-- 1 apache apache 6412 Dec 8 15:25 10.126.123.1_40.html
-rw-r--r-- 1 apache apache 48216 Dec 8 15:25 10.126.123.1_40.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_40-month.png
-rw-r--r-- 1 apache apache 48204 Dec 8 15:20 10.126.123.1_40.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_40.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_40-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_40-year.png
-rw-r--r-- 1 apache apache 1530 Dec 8 15:25 10.126.123.1_41-day.png
-rw-r--r-- 1 apache apache 6425 Dec 8 15:25 10.126.123.1_41.html
-rw-r--r-- 1 apache apache 48234 Dec 8 15:25 10.126.123.1_41.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_41-month.png
-rw-r--r-- 1 apache apache 48210 Dec 8 15:20 10.126.123.1_41.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_41.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_41-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_41-year.png
-rw-r--r-- 1 apache apache 1543 Dec 8 15:25 10.126.123.1_42-day.png
-rw-r--r-- 1 apache apache 6414 Dec 8 15:25 10.126.123.1_42.html
-rw-r--r-- 1 apache apache 48215 Dec 8 15:25 10.126.123.1_42.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_42-month.png
-rw-r--r-- 1 apache apache 48203 Dec 8 15:20 10.126.123.1_42.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_42.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_42-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_42-year.png
-rw-r--r-- 1 apache apache 1558 Dec 8 15:25 10.126.123.1_43-day.png
-rw-r--r-- 1 apache apache 6420 Dec 8 15:25 10.126.123.1_43.html
-rw-r--r-- 1 apache apache 48220 Dec 8 15:25 10.126.123.1_43.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_43-month.png
-rw-r--r-- 1 apache apache 48206 Dec 8 15:20 10.126.123.1_43.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_43.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_43-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_43-year.png
-rw-r--r-- 1 apache apache 1554 Dec 8 15:25 10.126.123.1_44-day.png
-rw-r--r-- 1 apache apache 6408 Dec 8 15:25 10.126.123.1_44.html
-rw-r--r-- 1 apache apache 48208 Dec 8 15:25 10.126.123.1_44.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_44-month.png
-rw-r--r-- 1 apache apache 48200 Dec 8 15:20 10.126.123.1_44.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_44.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_44-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_44-year.png
-rw-r--r-- 1 apache apache 1582 Dec 8 15:25 10.126.123.1_45-day.png
-rw-r--r-- 1 apache apache 6411 Dec 8 15:25 10.126.123.1_45.html
-rw-r--r-- 1 apache apache 48222 Dec 8 15:25 10.126.123.1_45.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_45-month.png
-rw-r--r-- 1 apache apache 48206 Dec 8 15:20 10.126.123.1_45.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_45.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_45-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_45-year.png
-rw-r--r-- 1 apache apache 1570 Dec 8 15:25 10.126.123.1_46-day.png
-rw-r--r-- 1 apache apache 6433 Dec 8 15:25 10.126.123.1_46.html
-rw-r--r-- 1 apache apache 48233 Dec 8 15:25 10.126.123.1_46.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_46-month.png
-rw-r--r-- 1 apache apache 48209 Dec 8 15:20 10.126.123.1_46.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_46.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_46-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_46-year.png
-rw-r--r-- 1 apache apache 1577 Dec 8 15:25 10.126.123.1_47-day.png
-rw-r--r-- 1 apache apache 6435 Dec 8 15:25 10.126.123.1_47.html
-rw-r--r-- 1 apache apache 48240 Dec 8 15:25 10.126.123.1_47.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_47-month.png
-rw-r--r-- 1 apache apache 48212 Dec 8 15:20 10.126.123.1_47.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_47.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_47-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_47-year.png
-rw-r--r-- 1 apache apache 1562 Dec 8 15:25 10.126.123.1_48-day.png
-rw-r--r-- 1 apache apache 6406 Dec 8 15:25 10.126.123.1_48.html
-rw-r--r-- 1 apache apache 48210 Dec 8 15:25 10.126.123.1_48.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_48-month.png
-rw-r--r-- 1 apache apache 48202 Dec 8 15:20 10.126.123.1_48.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_48.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_48-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_48-year.png
-rw-r--r-- 1 apache apache 1592 Dec 8 15:25 10.126.123.1_4-day.png
-rw-r--r-- 1 apache apache 6429 Dec 8 15:25 10.126.123.1_4.html
-rw-r--r-- 1 apache apache 48246 Dec 8 15:25 10.126.123.1_4.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_4-month.png
-rw-r--r-- 1 apache apache 48214 Dec 8 15:20 10.126.123.1_4.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_4.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_4-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_4-year.png
-rw-r--r-- 1 apache apache 1562 Dec 8 15:25 10.126.123.1_51-day.png
-rw-r--r-- 1 apache apache 6420 Dec 8 15:25 10.126.123.1_51.html
-rw-r--r-- 1 apache apache 48222 Dec 8 15:25 10.126.123.1_51.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_51-month.png
-rw-r--r-- 1 apache apache 48206 Dec 8 15:20 10.126.123.1_51.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_51.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_51-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_51-year.png
-rw-r--r-- 1 apache apache 1566 Dec 8 15:25 10.126.123.1_52-day.png
-rw-r--r-- 1 apache apache 6360 Dec 8 15:25 10.126.123.1_52.html
-rw-r--r-- 1 apache apache 48206 Dec 8 15:25 10.126.123.1_52.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_52-month.png
-rw-r--r-- 1 apache apache 48198 Dec 8 15:20 10.126.123.1_52.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_52.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_52-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_52-year.png
-rw-r--r-- 1 apache apache 1572 Dec 8 15:25 10.126.123.1_53-day.png
-rw-r--r-- 1 apache apache 6414 Dec 8 15:25 10.126.123.1_53.html
-rw-r--r-- 1 apache apache 48219 Dec 8 15:25 10.126.123.1_53.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_53-month.png
-rw-r--r-- 1 apache apache 48205 Dec 8 15:20 10.126.123.1_53.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_53.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_53-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_53-year.png
-rw-r--r-- 1 apache apache 1585 Dec 8 15:25 10.126.123.1_54-day.png
-rw-r--r-- 1 apache apache 6414 Dec 8 15:25 10.126.123.1_54.html
-rw-r--r-- 1 apache apache 48218 Dec 8 15:25 10.126.123.1_54.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_54-month.png
-rw-r--r-- 1 apache apache 48204 Dec 8 15:20 10.126.123.1_54.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_54.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_54-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_54-year.png
-rw-r--r-- 1 apache apache 1578 Dec 8 15:25 10.126.123.1_55-day.png
-rw-r--r-- 1 apache apache 6421 Dec 8 15:25 10.126.123.1_55.html
-rw-r--r-- 1 apache apache 48226 Dec 8 15:25 10.126.123.1_55.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_55-month.png
-rw-r--r-- 1 apache apache 48206 Dec 8 15:20 10.126.123.1_55.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_55.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_55-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_55-year.png
-rw-r--r-- 1 apache apache 1591 Dec 8 15:25 10.126.123.1_56-day.png
-rw-r--r-- 1 apache apache 6447 Dec 8 15:25 10.126.123.1_56.html
-rw-r--r-- 1 apache apache 48256 Dec 8 15:25 10.126.123.1_56.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_56-month.png
-rw-r--r-- 1 apache apache 48218 Dec 8 15:20 10.126.123.1_56.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_56.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_56-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_56-year.png
-rw-r--r-- 1 apache apache 1447 Dec 8 15:25 10.126.123.1_58-day.png
-rw-r--r-- 1 apache apache 6307 Dec 8 15:25 10.126.123.1_58.html
-rw-r--r-- 1 apache apache 48180 Dec 8 15:25 10.126.123.1_58.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_58-month.png
-rw-r--r-- 1 apache apache 48180 Dec 8 15:20 10.126.123.1_58.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_58.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_58-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_58-year.png
-rw-r--r-- 1 apache apache 1566 Dec 8 15:25 10.126.123.1_5-day.png
-rw-r--r-- 1 apache apache 6426 Dec 8 15:25 10.126.123.1_5.html
-rw-r--r-- 1 apache apache 48233 Dec 8 15:25 10.126.123.1_5.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_5-month.png
-rw-r--r-- 1 apache apache 48209 Dec 8 15:20 10.126.123.1_5.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_5.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_5-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_5-year.png
-rw-r--r-- 1 apache apache 1633 Dec 8 15:25 10.126.123.1_64-day.png
-rw-r--r-- 1 apache apache 6437 Dec 8 15:25 10.126.123.1_64.html
-rw-r--r-- 1 apache apache 48258 Dec 8 15:25 10.126.123.1_64.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_64-month.png
-rw-r--r-- 1 apache apache 48218 Dec 8 15:20 10.126.123.1_64.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_64.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_64-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_64-year.png
-rw-r--r-- 1 apache apache 1542 Dec 8 15:25 10.126.123.1_65-day.png
-rw-r--r-- 1 apache apache 6366 Dec 8 15:25 10.126.123.1_65.html
-rw-r--r-- 1 apache apache 48194 Dec 8 15:25 10.126.123.1_65.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_65-month.png
-rw-r--r-- 1 apache apache 48190 Dec 8 15:20 10.126.123.1_65.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_65.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_65-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_65-year.png
-rw-r--r-- 1 apache apache 1516 Dec 8 15:25 10.126.123.1_66-day.png
-rw-r--r-- 1 apache apache 6367 Dec 8 15:25 10.126.123.1_66.html
-rw-r--r-- 1 apache apache 48194 Dec 8 15:25 10.126.123.1_66.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_66-month.png
-rw-r--r-- 1 apache apache 48190 Dec 8 15:20 10.126.123.1_66.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_66.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_66-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_66-year.png
-rw-r--r-- 1 apache apache 1550 Dec 8 15:25 10.126.123.1_67-day.png
-rw-r--r-- 1 apache apache 6370 Dec 8 15:25 10.126.123.1_67.html
-rw-r--r-- 1 apache apache 48204 Dec 8 15:25 10.126.123.1_67.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_67-month.png
-rw-r--r-- 1 apache apache 48198 Dec 8 15:20 10.126.123.1_67.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_67.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_67-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_67-year.png
-rw-r--r-- 1 apache apache 1548 Dec 8 15:25 10.126.123.1_68-day.png
-rw-r--r-- 1 apache apache 6408 Dec 8 15:25 10.126.123.1_68.html
-rw-r--r-- 1 apache apache 48201 Dec 8 15:25 10.126.123.1_68.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_68-month.png
-rw-r--r-- 1 apache apache 48197 Dec 8 15:20 10.126.123.1_68.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_68.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_68-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_68-year.png
-rw-r--r-- 1 apache apache 1514 Dec 8 15:25 10.126.123.1_69-day.png
-rw-r--r-- 1 apache apache 6366 Dec 8 15:25 10.126.123.1_69.html
-rw-r--r-- 1 apache apache 48200 Dec 8 15:25 10.126.123.1_69.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_69-month.png
-rw-r--r-- 1 apache apache 48196 Dec 8 15:20 10.126.123.1_69.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_69.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_69-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_69-year.png
-rw-r--r-- 1 apache apache 1533 Dec 8 15:25 10.126.123.1_70-day.png
-rw-r--r-- 1 apache apache 6366 Dec 8 15:25 10.126.123.1_70.html
-rw-r--r-- 1 apache apache 48197 Dec 8 15:25 10.126.123.1_70.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_70-month.png
-rw-r--r-- 1 apache apache 48193 Dec 8 15:20 10.126.123.1_70.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_70.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_70-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_70-year.png
-rw-r--r-- 1 apache apache 1560 Dec 8 15:25 10.126.123.1_71-day.png
-rw-r--r-- 1 apache apache 6408 Dec 8 15:25 10.126.123.1_71.html
-rw-r--r-- 1 apache apache 48201 Dec 8 15:25 10.126.123.1_71.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_71-month.png
-rw-r--r-- 1 apache apache 48197 Dec 8 15:20 10.126.123.1_71.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_71.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_71-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_71-year.png
-rw-r--r-- 1 apache apache 1586 Dec 8 15:25 10.126.123.1_7-day.png
-rw-r--r-- 1 apache apache 6420 Dec 8 15:25 10.126.123.1_7.html
-rw-r--r-- 1 apache apache 48227 Dec 8 15:25 10.126.123.1_7.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_7-month.png
-rw-r--r-- 1 apache apache 48207 Dec 8 15:20 10.126.123.1_7.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_7.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_7-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_7-year.png
-rw-r--r-- 1 apache apache 1568 Dec 8 15:25 10.126.123.1_8-day.png
-rw-r--r-- 1 apache apache 6450 Dec 8 15:25 10.126.123.1_8.html
-rw-r--r-- 1 apache apache 48263 Dec 8 15:25 10.126.123.1_8.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_8-month.png
-rw-r--r-- 1 apache apache 48219 Dec 8 15:20 10.126.123.1_8.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_8.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_8-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_8-year.png
-rw-r--r-- 1 apache apache 1540 Dec 8 15:25 10.126.123.1_9-day.png
-rw-r--r-- 1 apache apache 6433 Dec 8 15:25 10.126.123.1_9.html
-rw-r--r-- 1 apache apache 48244 Dec 8 15:25 10.126.123.1_9.log
-rw-r--r-- 1 apache apache 1410 Dec 8 15:15 10.126.123.1_9-month.png
-rw-r--r-- 1 apache apache 48212 Dec 8 15:20 10.126.123.1_9.old
-rw-r--r-- 1 apache apache 94768 Dec 18 08:00 10.126.123.1_9.rrd
-rw-r--r-- 1 apache apache 1459 Dec 8 15:15 10.126.123.1_9-week.png
-rw-r--r-- 1 apache apache 1742 Dec 8 15:15 10.126.123.1_9-year.png
-rw-r--r-- 1 apache apache 14416 Dec 8 15:11 index.html
-rw-r--r-- 1 apache apache 538 Dec 8 15:15 mrtg-l.png
-rw-r--r-- 1 apache apache 414 Dec 8 15:15 mrtg-m.png
-rw-r--r-- 1 apache apache 1759 Dec 8 15:15 mrtg-r.png
Any help is appreciated
EDIT: put huge directory in a code block.
Re: Another timeout issue
Well I don't see a _1 file in there. You will have to indicate a file that exists. I see _3 through _ 71
/Luke
Re: Another timeout issue
Hi,
I changed the object to check on switch.cfg as below:
Any suggestion please let me know.
Regards,
I changed the object to check on switch.cfg as below:
But showing# Monitor bandwidth via MRTG logs
define service{
use generic-service ; Inherit values from a template
host_name C4507R_01
service_description Port 1 Bandwidth Usage
check_command check_local_mrtgtraf!/var/www/html/mrtg/10.126.123.1_3.log!AVG!1000000,1000000!5000000,5000000!10
}
Does it related the crond?MRTG data has expired (15407 minutes old)
Any suggestion please let me know.
Regards,
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Another timeout issue
Could be, is cron running mrtg on a 5 minute basis?trungmv wrote:Does it related the crond?
Re: Another timeout issue
Hi,
Here is my mrtg cron:
Any help is appreciated,
Here is my mrtg cron:
Is this right or not?[root@VM]# cat /etc/cron.d/mrtg
*/5 * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
Any help is appreciated,
Re: Another timeout issue
Try selecting one of the logs at the end of that list- a higher number. Verify it is in the folder and try a couple different ones then post the output here in a code block.
/Luke
Re: Another timeout issue
Hi,
I can resoled this issue by myself. it only change WordDir for cfgmaker.
But link status is still how to determine the OID for port 1?
I also need to monitor bandwidth on all ports and more than one switches.
Any help is appreciated,
Happy X-mas to all of you.
I can resoled this issue by myself. it only change WordDir for cfgmaker.
But link status is still
Code: Select all
SNMP CRITICAL - *Such Instance currently exists at this OID*
I also need to monitor bandwidth on all ports and more than one switches.
Any help is appreciated,
Happy X-mas to all of you.