Performance Graph missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Performance Graph missing

Post by rajasegar »

abrist wrote:RPM was sent through email (ticket system).
The new mod gearman beta fixed all the \n issues. So far it seems everything is fine.
It is generating crazy amount of logs. Please advice how to turn it off. All the debug is at 0

Code: Select all

[nagios@nagiosdevxi1 mod_gearman]$ ls -lh /var/log/mod_gearman/
total 13G
-rw-r--r-- 1 nagios nagios 1.7G Aug 29 19:52 mod_gearman_neb.log
-rw-rw-r-- 1 nagios nagios  11G Aug 29 19:53 mod_gearman_worker.log
[nagios@nagiosdevxi1 mod_gearman]$

However I am not sure what to check to ensure all is ok.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Performance Graph missing

Post by slansing »

Holy smokes those are huge, I've not seen that before. Are you sure that was not prior to installing the beta version? That would be an insane amount of information gathering done in a 24 hour period. Do you see anything being repeated in those logs? How many checks are you running through gearman, and at what interval? Do you have:

Code: Select all

workaround_rc_25=off
Turned off in your:

Code: Select all

/etc/mod_gearman/mod_gearman_worker.conf
It would be nice if we could see a snippet of those logs, maybe 100 lines or so each.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Performance Graph missing

Post by rajasegar »

slansing wrote:Holy smokes those are huge, I've not seen that before. Are you sure that was not prior to installing the beta version? That would be an insane amount of information gathering done in a 24 hour period. Do you see anything being repeated in those logs? How many checks are you running through gearman, and at what interval? Do you have:

Code: Select all

workaround_rc_25=off
Turned off in your:

Code: Select all

/etc/mod_gearman/mod_gearman_worker.conf
It would be nice if we could see a snippet of those logs, maybe 100 lines or so each.
That logs was from dev which has about 25 hosts and 200 services check.
Not sure if it was there before the beta installation.
I restarted it and it is seems to be fine.
The workaround setting was in off setting.

See attached 10000 lines extract of the oversized files


This is from production which is not using the beta

Code: Select all

[nagios@nagiosprodxi1 mod_gearman]$ ls -lhrt *
-rw-r--r-- 1 nagios nagios 1.1K Jul 24 08:54 mod_gearman_neb_20140724_08:53:57.log
-rw-rw-r-- 1 nagios nagios  54K Jul 24 09:01 mod_gearman_worker_20140724_09:02:00.log
-rw-r--r-- 1 root   root      0 Jul 31 07:15 mod_gearman_neb_20140731_07:28:21.log
-rw-r--r-- 1 root   root      0 Jul 31 07:15 mod_gearman_worker_20140731_07:23:10.log
-rw-rw-r-- 1 nagios nagios  147 Jul 31 07:18 mod_gearman_neb_20140731_07:15:38.log
-rw-r--r-- 1 nagios nagios  13K Jul 31 07:18 mod_gearman_worker_20140731_07:15:39.log
-rw-r--r-- 1 root   root      0 Jul 31 07:23 mod_gearman_worker_20140731_07:23:21.log
-rw-r--r-- 1 root   root      0 Jul 31 07:23 mod_gearman_worker_20140731_07:24:16.log
-rw-r--r-- 1 root   root      0 Jul 31 07:28 mod_gearman_neb_20140731_07:30:50.log
-rw-r--r-- 1 root   root      0 Jul 31 07:30 mod_gearman_neb.log
-rw-r--r-- 1 root   root      0 Jul 31 07:30 mod_gearman_neb_20140731_07:30:30.log
-rw-rw-r-- 1 nagios nagios 2.9M Sep  1 13:48 mod_gearman_worker.log

gearman_log_extract.zip
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Performance Graph missing

Post by abrist »

Can you post the following files? I think you need to turn down the logging level:

Code: Select all

/etc/mod_gearman/mod_gearman_neb.conf
/etc/mod_gearman/mod_gearman_worker.conf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Performance Graph missing

Post by rajasegar »

abrist wrote:Can you post the following files? I think you need to turn down the logging level:

Code: Select all

/etc/mod_gearman/mod_gearman_neb.conf
/etc/mod_gearman/mod_gearman_worker.conf
mod_gearman_worker.conf
mod_gearman_neb.conf
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance Graph missing

Post by lmiltchev »

The debug is set to zero in both files - the least verbosity you can set... Are you still getting tons of logs generated? Can you run the following command and show us the output?

Code: Select all

ll -th /var/log/mod_gearman | head -10
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Performance Graph missing

Post by rajasegar »

lmiltchev wrote:The debug is set to zero in both files - the least verbosity you can set... Are you still getting tons of logs generated? Can you run the following command and show us the output?

Code: Select all

ll -th /var/log/mod_gearman | head -10
It is fine now. Don't know how it generated all the logs earlier.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Performance Graph missing

Post by tmcdonald »

Should we keep the thread open for a bit or do you think we're all set to close it?
Former Nagios employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Performance Graph missing

Post by rajasegar »

tmcdonald wrote:Should we keep the thread open for a bit or do you think we're all set to close it?
Please close the thread. Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked