Search found 9 matches
- Thu Mar 13, 2014 3:44 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
[root@localhost ~]# /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios Core 3.5.1 Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-30-2013 License: GPL Website: http://www.nagios.org Reading configuration data... ...
- Thu Mar 13, 2014 1:44 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
The OS I am using is CentOS 6.5 64 bit. rrdtool with Perl and Python bindings are installed. Python bindings were missing. After installing all rrdtool packages (ruby, tcl, etc.), it still is segfaulting.
- Wed Mar 12, 2014 5:02 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
The check_mrtgtraf command segfaults on the logs provided in /var/lib/mrtg with the rrd format.
- Wed Mar 12, 2014 3:07 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
# Created by # /usr/bin/cfgmaker --global "WorkDir: /var/www/mrtg" --output /etc/mrtg/mrtg.cfg public@10.0.2.254 ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # or for NT # WorkDir: c:\mrtgdata ### Global Defaults # to get bits instead of bytes and graphs growing to the ...
- Wed Mar 12, 2014 1:21 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
Do you get any errors, when you run the following command? LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg Runs fine. What mrtg packages do you have installed? If it is a CentOS system, you can run: yum list installed mrtg* mrtg.x86_64 2.16.2-7.el6 @base mrtg-libs.x86_64 2.16.2-7.el6 @base Did you...
- Mon Mar 10, 2014 1:55 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
This is about all the information the logs are giving me: [1394476809] SERVICE ALERT: netgear-gsm7312;Port 1 Bandwidth Usage;UNKNOWN;SOFT;1;check_mrtgtraf: Unable to open MRTG log file [1394476929] SERVICE ALERT: netgear-gsm7312;Port 1 Bandwidth Usage;UNKNOWN;SOFT;2;check_mrtgtraf: Unable to open MR...
- Mon Mar 10, 2014 1:43 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
It is not defined. After I posted, I found out that check_local_mrtgtraf is the proper definition. I replaced that and the nagios service started again. Unfortunately it is having issues getting the log which is why I messed with changing check_local_mrtgtraf to check_mrtgtraf.
- Mon Mar 10, 2014 1:33 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
Re: check_mrtgtraf: configuration broken
This is the error that comes up:
Code: Select all
Error: Service check command 'check_mrtgtraf' specified in service 'Port 1 Bandwidth Usage' for host 'netgear-gsm7312' not defined anywhere!
Checked 12 services.- Mon Mar 10, 2014 1:18 pm
- Forum: Open Source Nagios Projects
- Topic: check_mrtgtraf: configuration broken
- Replies: 18
- Views: 8006
check_mrtgtraf: configuration broken
While I was trying to configure the check_mrtgtraf command in switch.cfg, somehow it won't let Nagios start now unless I have either the host_name or service_description commented out. I cannot have both uncommented and the service run. I am wondering what issues am I running into here.