Search found 106 matches

by Bone8Head
Tue May 10, 2016 8:59 am
Forum: Open Source Nagios Projects
Topic: check_mrtgtraf: MRTG data has expired
Replies: 8
Views: 6305

Re: check_mrtgtraf: MRTG data has expired

Are the log files showing up in this folder? /var/www/html/mrtg/ Yes, all in the same Folder. The problem is that with your configuration and cron task now no one of the 3 Switches is updating the mrtg.log files. So I reused the old one: */5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/mymrt...
by Bone8Head
Mon May 09, 2016 9:29 am
Forum: Open Source Nagios Projects
Topic: check_mrtgtraf: MRTG data has expired
Replies: 8
Views: 6305

Re: check_mrtgtraf: MRTG data has expired

I think that I found the problem. In another site I found that the mrgt can update only 1 Switch at time (I got 3 Switch to Monitor). The only thing I had to do was modify some of the file location paths. Since I am monitoring multiple switches I had to modify some things. Using the "env LANG=C...
by Bone8Head
Mon May 09, 2016 1:35 am
Forum: Open Source Nagios Projects
Topic: check_mrtgtraf: MRTG data has expired
Replies: 8
Views: 6305

Re: check_mrtgtraf: MRTG data has expired

In your crontab file, you have 2 entries, you should delete the bad entry and that should fix the email errors. Can you post how your check_mrtgtraf command is defined and also your service check that is generating the error. # 'check_local_mrtgtraf' command definition define command{ command_name ...
by Bone8Head
Fri May 06, 2016 7:11 am
Forum: Open Source Nagios Projects
Topic: check_mrtgtraf: MRTG data has expired
Replies: 8
Views: 6305

Re: check_mrtgtraf: MRTG data has expired

In your emails, the WorkDir says it is not in your /etc/mrtg/mymrtg.cfg file. Try adding the following line to that file and see if the files in the WorkDir folder start to update. WorkDir: /var/www/html/mrtg Actually my mymrtg.cfg file is empty :cry: But there is another file called mrtg.cfg with ...
by Bone8Head
Thu May 05, 2016 8:58 am
Forum: Open Source Nagios Projects
Topic: check_mrtgtraf: MRTG data has expired
Replies: 8
Views: 6305

check_mrtgtraf: MRTG data has expired

Hi, I'm trying to monitor some switches with mrtg (on Centos 6.7), everything is ok but I have some problem with the cron task. MRTG data has expired (xxx days old) my crontab -e is: */5 * * * * /usr/bin/env LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg –logging /var/log/mrtg.log */5 * * * * /usr/bin/en...
by Bone8Head
Fri Apr 29, 2016 1:43 am
Forum: Open Source Nagios Projects
Topic: Can't Locate Nagios/Plugins.pm
Replies: 5
Views: 5698

Re: Can't Locate Nagios/Plugins.pm

lmiltchev wrote:Try running:

Code: Select all

yum -y install perl-Nagios-Plugin
After I install the Plugin/Nagios it seems ok.
Also, I installed the develepoment tools of Centos. Don't know actually if it helps.

Thank you. You can close the Thread.
by Bone8Head
Fri Apr 29, 2016 1:41 am
Forum: Open Source Nagios Projects
Topic: Nagios Core - Problem with E-Mail Notifications
Replies: 16
Views: 6297

Re: Nagios Core - Problem with E-Mail Notifications

You'll want to remove the -r flag from your definition. See this - notification_options: This directive is used to determine when notifications for the host should be sent out. Valid options are a combination of one or more of the following: d = send notifications on a DOWN state, u = send notifica...
by Bone8Head
Thu Apr 28, 2016 7:49 am
Forum: Open Source Nagios Projects
Topic: Can't Locate Nagios/Plugins.pm
Replies: 5
Views: 5698

Re: Can't Locate Nagios/Plugins.pm

I resolved the "SNMP Plugin error" with installing some SNMP modules on Centos.

Now I have only the error with Nagios/Plugins.pm.
Don't know what is this "Nagios/Plugins.pm.
by Bone8Head
Thu Apr 28, 2016 7:22 am
Forum: Open Source Nagios Projects
Topic: Nagios Core - Problem with E-Mail Notifications
Replies: 16
Views: 6297

Re: Nagios Core - Problem with E-Mail Notifications

The Problem was that in the Contacts files there was a duplicate "notify-host-email". Don't know why nagios didn't tell me that before.

By the way, there is a way to DISABLE only the "Recovery" E-Mails? I need only the Warning - Critical E-Mails.
by Bone8Head
Thu Apr 28, 2016 6:55 am
Forum: Open Source Nagios Projects
Topic: Can't Locate Nagios/Plugins.pm
Replies: 5
Views: 5698

Can't Locate Nagios/Plugins.pm

Hello, after I reinstalled Nagios Core on a New Centos 6.7 VM, some of my plugins get this error: https://i.imgsafe.org/f7995b1.jpg [root@nagioscorefx libexec]# ./check_esx3-0.5.pl Can't locate Nagios/Plugins.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/v...