syslog=0 has not effect in Nagios core 4.1RC

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

syslog=0 has not effect in Nagios core 4.1RC

Post by nagmoto »

Hi

This is a 4.1rc running on CentOS7.1, I found switching use_syslog's value from 1 to 0 and restart nagios, doesn't stop the logging into /var/log/message.
Can you confirm this is a bug ? or Just my mistake somewhere.

Code: Select all

[root@nagios1 ~]# grep use_syslog /etc/nagios/nagios.cfg
#use_syslog=1
use_syslog=0
[root@nagios1 ~]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by tgriep »

Can you login to the Nagios server in a shell and run the following and post the output?

Code: Select all

ps aux
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by nagmoto »

A few changes since my last post.
nagios1 now is under pacemaker+corosync control, the rrd and status data are in /data2 filesystem which on top of /dev/drbd0. /data2 will be failover between nagios1 and nagios2.

private info masked with xxx

Code: Select all

[root@nagios1 ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@nagios1 ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0 204876  4824 ?        Ss   20:28   0:03 /usr/lib/systemd/systemd --switched-root --system --deserialize 24
root         2  0.0  0.0      0     0 ?        S    20:28   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    20:28   0:05 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/0:0H]
root         8  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/0]
root         9  0.0  0.0      0     0 ?        S    20:28   0:00 [rcu_bh]
root        10  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/0]
root        11  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/1]
root        12  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/2]
root        13  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/3]
root        14  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/4]
root        15  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/5]
root        16  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/6]
root        17  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/7]
root        18  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/8]
root        19  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/9]
root        20  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/10]
root        21  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/11]
root        22  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/12]
root        23  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/13]
root        24  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/14]
root        25  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/15]
root        26  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/16]
root        27  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/17]
root        28  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/18]
root        29  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/19]
root        30  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/20]
root        31  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/21]
root        32  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/22]
root        33  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/23]
root        34  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/24]
root        35  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/25]
root        36  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/26]
root        37  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/27]
root        38  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/28]
root        39  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/29]
root        40  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/30]
root        41  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/31]
root        42  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/32]
root        43  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/33]
root        44  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/34]
root        45  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/35]
root        46  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/36]
root        47  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/37]
root        48  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/38]
root        49  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/39]
root        50  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/40]
root        51  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/41]
root        52  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/42]
root        53  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/43]
root        54  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/44]
root        55  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/45]
root        56  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/46]
root        57  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/47]
root        58  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/48]
root        59  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/49]
root        60  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/50]
root        61  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/51]
root        62  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/52]
root        63  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/53]
root        64  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/54]
root        65  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/55]
root        66  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/56]
root        67  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/57]
root        68  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/58]
root        69  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/59]
root        70  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/60]
root        71  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/61]
root        72  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/62]
root        73  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuob/63]
root        74  0.6  0.0      0     0 ?        S    20:28   1:09 [rcu_sched]
root        75  0.1  0.0      0     0 ?        S    20:28   0:19 [rcuos/0]
root        76  0.1  0.0      0     0 ?        S    20:28   0:12 [rcuos/1]
root        77  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/2]
root        78  0.0  0.0      0     0 ?        S    20:28   0:05 [rcuos/3]
root        79  0.0  0.0      0     0 ?        S    20:28   0:09 [rcuos/4]
root        80  0.0  0.0      0     0 ?        S    20:28   0:11 [rcuos/5]
root        81  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/6]
root        82  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/7]
root        83  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/8]
root        84  0.0  0.0      0     0 ?        S    20:28   0:09 [rcuos/9]
root        85  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/10]
root        86  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/11]
root        87  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/12]
root        88  0.0  0.0      0     0 ?        S    20:28   0:10 [rcuos/13]
root        89  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/14]
root        90  0.0  0.0      0     0 ?        S    20:28   0:06 [rcuos/15]
root        91  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/16]
root        92  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/17]
root        93  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/18]
root        94  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/19]
root        95  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/20]
root        96  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/21]
root        97  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/22]
root        98  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/23]
root        99  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/24]
root       100  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/25]
root       101  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/26]
root       102  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/27]
root       103  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/28]
root       104  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/29]
root       105  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/30]
root       106  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/31]
root       107  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/32]
root       108  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/33]
root       109  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/34]
root       110  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/35]
root       111  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/36]
root       112  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/37]
root       113  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/38]
root       114  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/39]
root       115  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/40]
root       116  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/41]
root       117  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/42]
root       118  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/43]
root       119  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/44]
root       120  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/45]
root       121  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/46]
root       122  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/47]
root       123  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/48]
root       124  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/49]
root       125  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/50]
root       126  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/51]
root       127  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/52]
root       128  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/53]
root       129  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/54]
root       130  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/55]
root       131  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/56]
root       132  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/57]
root       133  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/58]
root       134  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/59]
root       135  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/60]
root       136  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/61]
root       137  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/62]
root       138  0.0  0.0      0     0 ?        S    20:28   0:00 [rcuos/63]
root       139  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/0]
root       140  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/1]
root       141  0.0  0.0      0     0 ?        S    20:28   0:02 [migration/1]
root       142  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/1]
root       144  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/1:0H]
root       145  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/2]
root       146  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/2]
root       147  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/2]
root       149  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/2:0H]
root       150  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/3]
root       151  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/3]
root       152  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/3]
root       154  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/3:0H]
root       155  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/4]
root       156  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/4]
root       157  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/4]
root       159  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/4:0H]
root       160  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/5]
root       161  0.0  0.0      0     0 ?        S    20:28   0:01 [migration/5]
root       162  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/5]
root       164  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/5:0H]
root       165  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/6]
root       166  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/6]
root       167  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/6]
root       169  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/6:0H]
root       170  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/7]
root       171  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/7]
root       172  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/7]
root       174  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/7:0H]
root       175  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/8]
root       176  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/8]
root       177  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/8]
root       179  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/8:0H]
root       180  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/9]
root       181  0.0  0.0      0     0 ?        S    20:28   0:02 [migration/9]
root       182  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/9]
root       183  0.0  0.0      0     0 ?        S    20:28   0:01 [kworker/9:0]
root       184  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/9:0H]
root       185  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/10]
root       186  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/10]
root       187  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/10]
root       189  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/10:0H]
root       190  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/11]
root       191  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/11]
root       192  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/11]
root       194  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/11:0H]
root       195  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/12]
root       196  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/12]
root       197  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/12]
root       199  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/12:0H]
root       200  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/13]
root       201  0.0  0.0      0     0 ?        S    20:28   0:02 [migration/13]
root       202  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/13]
root       203  0.0  0.0      0     0 ?        S    20:28   0:02 [kworker/13:0]
root       204  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/13:0H]
root       205  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/14]
root       206  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/14]
root       207  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/14]
root       209  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/14:0H]
root       210  0.0  0.0      0     0 ?        S    20:28   0:00 [watchdog/15]
root       211  0.0  0.0      0     0 ?        S    20:28   0:00 [migration/15]
root       212  0.0  0.0      0     0 ?        S    20:28   0:00 [ksoftirqd/15]
root       214  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/15:0H]
root       215  0.0  0.0      0     0 ?        S<   20:28   0:00 [khelper]
root       216  0.0  0.0      0     0 ?        S    20:28   0:00 [kdevtmpfs]
root       217  0.0  0.0      0     0 ?        S<   20:28   0:00 [netns]
root       218  0.0  0.0      0     0 ?        S<   20:28   0:00 [writeback]
root       219  0.0  0.0      0     0 ?        S<   20:28   0:00 [kintegrityd]
root       220  0.0  0.0      0     0 ?        S<   20:28   0:00 [bioset]
root       221  0.0  0.0      0     0 ?        S<   20:28   0:00 [kblockd]
root       222  0.0  0.0      0     0 ?        S    20:28   0:00 [khubd]
root       223  0.0  0.0      0     0 ?        S<   20:28   0:00 [md]
root       224  0.0  0.0      0     0 ?        S    20:28   0:00 [kworker/3:1]
root       226  0.0  0.0      0     0 ?        S    20:28   0:00 [khungtaskd]
root       227  0.0  0.0      0     0 ?        S    20:28   0:00 [kswapd0]
root       228  0.0  0.0      0     0 ?        S    20:28   0:00 [kswapd1]
root       229  0.0  0.0      0     0 ?        S    20:28   0:00 [kswapd2]
root       230  0.0  0.0      0     0 ?        S    20:28   0:00 [kswapd3]
root       231  0.0  0.0      0     0 ?        SN   20:28   0:00 [ksmd]
root       232  0.0  0.0      0     0 ?        SN   20:28   0:00 [khugepaged]
root       233  0.0  0.0      0     0 ?        S    20:28   0:00 [fsnotify_mark]
root       234  0.0  0.0      0     0 ?        S<   20:28   0:00 [crypto]
root       243  0.0  0.0      0     0 ?        S<   20:28   0:00 [kthrotld]
root       246  0.0  0.0      0     0 ?        S<   20:28   0:00 [kmpath_rdacd]
root       248  0.0  0.0      0     0 ?        S<   20:28   0:00 [kpsmoused]
root       269  0.0  0.0      0     0 ?        S<   20:28   0:00 [deferwq]
root       290  0.0  0.0      0     0 ?        S    20:28   0:01 [kworker/11:1]
root       294  0.0  0.0      0     0 ?        S    20:28   0:00 [kauditd]
root       365  0.0  0.0      0     0 ?        S    20:28   0:00 [kworker/7:1]
apache     367  0.0  0.0 324116  8324 ?        S    23:13   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache     368  0.0  0.0 324124  8124 ?        S    23:13   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache     369  0.0  0.0 324100  8308 ?        S    23:13   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache     371  0.0  0.0 324100  8224 ?        S    23:13   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
root       504  0.0  0.0      0     0 ?        S<   20:28   0:00 [ata_sff]
root       505  0.0  0.0      0     0 ?        S    20:28   0:00 [scsi_eh_0]
root       506  0.0  0.0      0     0 ?        S<   20:28   0:00 [scsi_tmf_0]
root       507  0.0  0.0      0     0 ?        S    20:28   0:00 [scsi_eh_1]
root       508  0.0  0.0      0     0 ?        S<   20:28   0:00 [scsi_tmf_1]
root       510  0.0  0.0      0     0 ?        S<   20:28   0:00 [mpt_poll_0]
root       511  0.0  0.0      0     0 ?        S<   20:28   0:00 [mpt/0]
root       518  0.0  0.0      0     0 ?        S    20:28   0:00 [scsi_eh_2]
root       519  0.0  0.0      0     0 ?        S<   20:28   0:00 [scsi_tmf_2]
root       520  0.1  0.0      0     0 ?        S    20:28   0:13 [kworker/u129:3]
root       521  0.0  0.0      0     0 ?        S<   20:28   0:00 [ttm_swap]
root       524  0.0  0.0      0     0 ?        S    20:28   0:00 [kworker/15:1]
root       619  0.0  0.0      0     0 ?        S    20:28   0:00 [kworker/15:2]
root       620  0.0  0.0      0     0 ?        R    20:28   0:00 [kworker/12:2]
root       621  0.0  0.0      0     0 ?        S<   20:28   0:00 [kdmflush]
root       622  0.0  0.0      0     0 ?        S<   20:28   0:00 [bioset]
root       631  0.0  0.0      0     0 ?        S<   20:28   0:00 [kdmflush]
root       632  0.0  0.0      0     0 ?        S<   20:28   0:00 [bioset]
root       650  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfsalloc]
root       651  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs_mru_cache]
root       652  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-buf/dm-1]
root       653  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-data/dm-1]
root       654  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-conv/dm-1]
root       655  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-cil/dm-1]
root       656  0.0  0.0      0     0 ?        S<   20:28   0:01 [kworker/0:1H]
root       657  0.1  0.0      0     0 ?        S    20:28   0:12 [xfsaild/dm-1]
root       704  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/10:1H]
root       705  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/11:1H]
root       706  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/8:1H]
root       707  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/9:1H]
root       715  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/5:1H]
root       716  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/6:1H]
root       717  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/7:1H]
root       718  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/4:1H]
root       728  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/13:1H]
root       743  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/12:1H]
root       744  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/14:1H]
root       745  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/15:1H]
root       766  0.0  0.0  59400 14980 ?        Ss   20:28   0:04 /usr/lib/systemd/systemd-journald
root       777  0.0  0.0 178224  1148 ?        Ss   20:28   0:00 /usr/sbin/lvmetad -f
root       786  0.0  0.0  42920  2184 ?        Ss   20:28   0:00 /usr/lib/systemd/systemd-udevd
root       791  0.0  0.0      0     0 ?        S<   20:28   0:00 [rpciod]
root       896  0.0  0.0      0     0 ?        S<   20:28   0:00 [kdmflush]
root       897  0.0  0.0      0     0 ?        S<   20:28   0:00 [bioset]
root       925  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-buf/sda1]
root       926  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-data/sda1]
root       927  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-conv/sda1]
root       928  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-cil/sda1]
root       930  0.0  0.0      0     0 ?        S    20:28   0:00 [xfsaild/sda1]
root       938  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-buf/dm-2]
root       939  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-data/dm-2]
root       940  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-conv/dm-2]
root       941  0.0  0.0      0     0 ?        S<   20:28   0:00 [xfs-cil/dm-2]
root       942  0.0  0.0      0     0 ?        S    20:28   0:01 [xfsaild/dm-2]
root       954  0.0  0.0  51148  1612 ?        S<sl 20:28   0:00 /sbin/auditd -n
root       971  0.0  0.0  80220   824 ?        S<sl 20:28   0:00 /sbin/audispd
root       975  0.0  0.0  26196   928 ?        S<   20:28   0:00 /usr/sbin/sedispatch
root       978  0.0  0.0  16752  1012 ?        SNs  20:28   0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.
avahi      981  0.0  0.0  30152  1704 ?        Ss   20:28   0:00 avahi-daemon: running [nagios1.local]
libstor+   982  0.0  0.0   4336   356 ?        Ss   20:28   0:00 /usr/bin/lsmd -d
root       984  0.0  0.0 195088  4248 ?        Ss   20:28   0:11 /usr/bin/vmtoolsd
root       986  0.0  0.0 292032 12168 ?        Ssl  20:28   0:02 /usr/sbin/rsyslogd -n
root       988  0.0  0.0 214444  5408 ?        Ss   20:28   0:00 /usr/sbin/abrtd -d -s
root       989  0.0  0.0 211984  4504 ?        Ss   20:28   0:00 /usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: poss
root       991  0.0  0.0 211984  4508 ?        Ss   20:28   0:00 /usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- /usr/bin
root       993  0.0  0.0 326572  4600 ?        Ssl  20:28   0:00 /usr/sbin/ModemManager
root       998  0.0  0.0  19292  1272 ?        Ss   20:28   0:01 /usr/sbin/irqbalance --foreground
root       999  0.0  0.0 130048  2292 ?        Ss   20:28   0:00 /usr/sbin/smartd -n -q never
root      1000  0.0  0.1 550180 18212 ?        Ssl  20:28   0:02 /usr/bin/python -Es /usr/sbin/tuned -l -P
chrony    1007  0.0  0.0  26792  1504 ?        S    20:28   0:00 /usr/sbin/chronyd -u chrony
rpc       1016  0.0  0.0  39908   868 ?        Ss   20:28   0:00 /sbin/rpcbind -w
avahi     1018  0.0  0.0  30028   452 ?        S    20:28   0:00 avahi-daemon: chroot helper
root      1019  0.0  0.0 115348  1844 ?        Ss   20:28   0:00 /bin/sh /usr/lib/pcsd/pcsd start
root      1020  0.0  0.0  34684  1780 ?        Ss   20:28   0:00 /usr/lib/systemd/systemd-logind
root      1021  0.0  0.0 370924  3648 ?        Ssl  20:28   0:00 /usr/libexec/accounts-daemon
rtkit     1055  0.0  0.0 164624  1260 ?        SNsl 20:28   0:00 /usr/libexec/rtkit-daemon
dbus      1056  0.0  0.0  29512  2480 ?        Ss   20:28   0:02 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --
root      1058  0.0  0.0      0     0 ?        S<   20:28   0:00 [kworker/2:1H]
root      1064  0.0  0.0 448684  8120 ?        Ssl  20:28   0:02 /usr/sbin/NetworkManager --no-daemon
root      1068  0.0  0.0 115216   952 ?        S    20:28   0:00 /bin/bash /usr/sbin/ksmtuned
root      1072  0.0  0.0 115212  1484 ?        S    20:28   0:00 /bin/bash -c ulimit -S -c 0 >/dev/null 2>&1 ; /usr/bin/ruby -I/usr/l
root      1073  0.0  0.2 363652 35136 ?        Sl   20:28   0:06 /usr/bin/ruby -I/usr/lib/pcsd /usr/lib/pcsd/ssl.rb
root      1080  0.0  0.0 203312  1220 ?        Ssl  20:28   0:00 /usr/sbin/gssproxy -D
polkitd   1098  0.0  0.1 521800 16264 ?        Ssl  20:28   0:10 /usr/lib/polkit-1/polkitd --no-debug
nagios    1240  0.0  0.0  42096  2480 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c checkUpTime -
nagios    1358  0.0  0.0  42096  2480 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c checkServic
nagios    1400  0.0  0.0  42096  2480 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c checkServic
nagios    1401  0.0  0.0  42096  2380 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c checkCPU -a
nagios    1402  0.0  0.0  42096  2412 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx  -c checkMem -a M
nagios    1403  0.0  0.0  42096  2216 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c checkUpTime
nagios    1404  0.0  0.0  46264  2604 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx
nagios    1405  0.0  0.0  42096  2436 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c checkProcSt
nagios    1406  0.0  0.0  42096  2216 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c CheckDriveS
root      1551  0.0  0.0 475080 11428 ?        Ssl  20:28   0:00 /usr/sbin/libvirtd
root      1554  0.0  0.0  82488  3604 ?        Ss   20:28   0:00 /usr/sbin/sshd -D
redis     1559  0.1  0.0 142688  5732 ?        Ssl  20:28   0:14 /usr/bin/redis-server 127.0.0.1:6379
nrpe      1571  0.0  0.0  46312  1456 ?        Ss   20:28   0:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root      1572  0.0  0.0  29272   992 ?        Ss   20:28   0:00 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
root      1580  0.0  0.0 126304  1580 ?        Ss   20:28   0:00 /usr/sbin/crond -n
root      1586  0.0  0.0  25932   944 ?        Ss   20:28   0:00 /usr/sbin/atd -f
root      1589  0.0  0.0 299180  3240 ?        Ssl  20:28   0:00 /usr/sbin/gdm
nslcd     1591  0.0  0.0 440156  3332 ?        Ssl  20:28   0:00 /usr/sbin/nslcd
root      1666  0.0  0.0      0     0 ?        S<   20:28   0:00 [bioset]
root      1670  0.0  0.0 382680  3848 ?        Sl   20:28   0:00 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager
root      1674  0.0  0.0      0     0 ?        S<   20:28   0:00 [drbd-reissue]
nagios    1740  0.0  0.0  42228  2832 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx -c check_cpu_us
nagios    1827  0.0  0.0  12876   468 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_icmp -H xxx  -w 300.0 80  -
root      1834  0.0  0.1 292560 16384 tty1     Ssl+ 20:28   0:01 /usr/bin/Xorg :0 -background none -verbose -auth /run/gdm/auth-for-g
nagios    1842  0.0  0.0  42228  2844 ?        S    23:39   0:00 /usr/lib64/nagios/plugins/check_nrpe -H xxx  -c check_cpu_us
root      1868  0.0  0.0 123372  1392 pts/0    R+   23:39   0:00 ps aux
postfix   2129  0.0  0.0  93252  3904 ?        S    22:08   0:00 pickup -l -t unix -u
root      2392  0.0  0.0  93148  2136 ?        Ss   20:28   0:00 /usr/libexec/postfix/master -w
postfix   2417  0.0  0.0  93320  3928 ?        S    20:28   0:00 qmgr -l -t unix -u
root      2710  0.0  0.0      0     0 ?        S    23:13   0:00 [kworker/13:1]
root      2836  0.0  0.0 360912  4984 ?        Sl   20:28   0:00 gdm-session-worker [pam/gdm-launch-environment]
gdm       2840  0.0  0.0 702980 14196 ?        Ssl  20:28   0:00 /usr/bin/gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm       2843  0.0  0.0  13944   604 ?        S    20:28   0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/gnome-session --au
gdm       2880  0.0  0.0  29004  1132 ?        Ss   20:28   0:00 /bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
gdm       2893  0.0  0.0 339968  3264 ?        Sl   20:28   0:00 /usr/libexec/at-spi-bus-launcher
gdm       2916  0.0  0.0  28512  1564 ?        S    20:28   0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nof
gdm       2919  0.0  0.0 129660  3396 ?        Sl   20:28   0:00 /usr/libexec/at-spi2-registryd --use-gnome-session
gdm       2944  0.0  0.1 931940 19716 ?        Sl   20:28   0:00 /usr/libexec/gnome-settings-daemon
root      2952  0.0  0.0 257520  7952 ?        Ssl  20:28   0:00 /usr/libexec/upowerd
gdm       3036  0.3  0.8 1596204 143280 ?      Sl   20:28   0:42 gnome-shell --mode=gdm
colord    3038  0.0  0.0 406576  5820 ?        Ssl  20:28   0:00 /usr/libexec/colord
gdm       3045  0.0  0.0 372408  3500 ?        S<l  20:28   0:00 /usr/bin/pulseaudio --start --log-target=syslog
gdm       3100  0.0  0.0 180640  2612 ?        Sl   20:28   0:00 /usr/libexec/dconf-service
gdm       3114  0.0  0.0 461488  7604 ?        Sl   20:28   0:00 /usr/bin/ibus-daemon --replace --xim --panel disable
gdm       3117  0.0  0.0 384160  3552 ?        Sl   20:28   0:00 /usr/libexec/ibus-dconf
gdm       3120  0.0  0.0 446224  8504 ?        Sl   20:28   0:00 /usr/libexec/ibus-x11 --kill-daemon
gdm       3127  0.0  0.0 310356  5552 ?        Sl   20:28   0:00 /usr/libexec/ibus-engine-simple
root      3380  0.0  0.0      0     0 ?        S    23:14   0:00 [kworker/2:0]
apache    4795  0.0  0.0 324100  8308 ?        S    23:14   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
root      5565  0.0  0.0 143680  5396 ?        Ss   23:15   0:00 sshd: root@pts/3
root      5739  0.0  0.0 116672  3324 pts/3    Ss+  23:15   0:00 -bash
root      6035  0.0  0.0      0     0 ?        S<   20:29   0:00 [kworker/3:1H]
root      7258  0.0  0.0      0     0 ?        S    23:16   0:00 [kworker/1:0]
root      7710  0.0  0.0      0     0 ?        S    21:46   0:00 [kworker/4:1]
root     10544  0.0  0.0 143804  5488 ?        Ds   21:22   0:02 sshd: root@pts/0
root     10674  0.0  0.0      0     0 ?        S    21:47   0:00 [kworker/10:0]
root     10993  0.0  0.0 116820  3748 pts/0    Ss   21:22   0:01 -bash
root     11514  0.0  0.0      0     0 ?        S    22:36   0:00 [kworker/12:1]
root     12046  0.0  0.0      0     0 ?        S    21:47   0:01 [kworker/u128:2]
root     15470  0.0  0.0 143800  5452 ?        Ss   21:49   0:00 sshd: root@pts/1
root     15571  0.0  0.0      0     0 ?        S    23:18   0:00 [kworker/13:2]
root     15808  0.0  0.0 116772  3576 pts/1    Ss+  21:49   0:00 -bash
root     15866  0.8  0.3 202844 50820 ?        Ssl  21:24   1:06 corosync
gdm      15868  0.0  0.0 321208  7516 ?        Sl   20:33   0:00 /usr/libexec/mission-control-5
gdm      15876  0.0  0.0 687480 16044 ?        Sl   20:33   0:00 /usr/libexec/goa-daemon
gdm      15914  0.0  0.0 321704  6080 ?        Sl   20:33   0:01 /usr/libexec/goa-identity-service
root     15925  0.0  0.0 130428  7428 ?        Ss   21:24   0:01 /usr/sbin/pacemakerd -f
haclust+ 15926  0.0  0.1 133092 16920 ?        Ss   21:24   0:04 /usr/libexec/pacemaker/cib
root     15927  0.0  0.0 134728  9572 ?        Ss   21:24   0:01 /usr/libexec/pacemaker/stonithd
root     15928  0.0  0.0 103964  5524 ?        Ss   21:24   0:02 /usr/libexec/pacemaker/lrmd
haclust+ 15929  0.0  0.0 124708  8120 ?        Ss   21:24   0:01 /usr/libexec/pacemaker/attrd
haclust+ 15930  0.0  0.1 156044 31040 ?        Ss   21:24   0:02 /usr/libexec/pacemaker/pengine
haclust+ 15931  0.0  0.1 184304 20804 ?        Ss   21:24   0:02 /usr/libexec/pacemaker/crmd
root     16831  0.0  0.0      0     0 ?        R    20:34   0:00 [kworker/14:0]
root     23938  0.0  0.0      0     0 ?        S    23:24   0:00 [kworker/4:0]
nagios   23943  2.6  0.2 1395196 48020 ?       Dsl  23:24   0:24 /usr/bin/nagios -d /etc/nagios/nagios.cfg
nagios   23949  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23952  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23953  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23954  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23955  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23956  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23957  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23958  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23959  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23960  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23961  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23962  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23963  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23964  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23965  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23967  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23968  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23969  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23970  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23971  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23972  0.0  0.0  10896  1052 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23973  0.0  0.0  10896  1056 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23974  0.0  0.0  10896  1060 ?        S    23:24   0:00 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   23975  0.1  0.0  10896  1056 ?        S    23:24   0:01 /usr/bin/nagios --worker /var/nagios/rw/nagios.qh
nagios   24001  0.0  0.0  60296 10928 ?        S    23:24   0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg
root     26220  0.0  0.0      0     0 ?        S    23:24   0:00 [kworker/2:1]
root     29660  0.0  0.0      0     0 ?        S<   20:39   0:00 [kworker/1:1H]
root     30062  0.0  0.0      0     0 ?        S    22:18   0:00 [kworker/0:4]
root     31340  0.4  0.0      0     0 ?        S    23:26   0:03 [drbd_a_r0]
root     31341  0.0  0.0      0     0 ?        S<   23:26   0:00 [drbd_as_r0]
root     33763  0.0  0.0      0     0 ?        S    23:27   0:00 [kworker/1:2]
root     34144  0.0  0.0      0     0 ?        S    22:45   0:00 [kworker/5:1]
root     38035  0.0  0.0      0     0 ?        S    20:42   0:00 [kworker/7:2]
root     38469  0.0  0.0      0     0 ?        S    22:46   0:00 [kworker/0:2]
root     40504  0.0  0.0      0     0 ?        S    23:29   0:00 [kworker/u128:0]
root     41783  0.0  0.0      0     0 ?        S    23:30   0:00 [kworker/2:2]
root     47267  0.0  0.0      0     0 ?        S    22:58   0:00 [kworker/8:1]
root     48660  0.0  0.0      0     0 ?        S    21:37   0:00 [kworker/8:0]
root     49034  0.0  0.0      0     0 ?        S    23:32   0:00 [kworker/1:1]
root     49104  0.0  0.0      0     0 ?        S    22:25   0:00 [kworker/10:2]
root     49452  0.0  0.0      0     0 ?        S    23:00   0:00 [kworker/3:0]
root     50668  0.0  0.0      0     0 ?        S    22:26   0:00 [kworker/9:1]
root     52346  0.0  0.0      0     0 ?        S    22:26   0:00 [kworker/5:2]
root     53369  0.0  0.0      0     0 ?        S    21:39   0:00 [kworker/6:1]
root     53370  0.0  0.0      0     0 ?        S    21:39   0:00 [kworker/6:3]
root     54273  0.0  0.0      0     0 ?        S    23:02   0:00 [kworker/14:1]
root     55814  0.0  0.0      0     0 ?        S    23:03   0:00 [kworker/u129:0]
root     56630  0.0  0.0      0     0 ?        S<   23:05   0:00 [drbd0_submit]
root     56640  0.1  0.0      0     0 ?        S    23:05   0:02 [drbd_w_r0]
root     56651  0.0  0.0      0     0 ?        S    23:05   0:01 [drbd_r_r0]
root     57039  0.0  0.0 145180  6908 ?        Ss   23:07   0:01 sshd: root@pts/2
root     57056  0.0  0.0 116772  3572 pts/2    Ss+  23:07   0:00 -bash
root     57485  0.0  0.0      0     0 ?        S    23:08   0:00 [jbd2/drbd0-8]
root     57486  0.0  0.0      0     0 ?        S<   23:08   0:00 [ext4-rsv-conver]
root     57487  0.0  0.0      0     0 ?        S<   23:08   0:00 [ext4-unrsv-conv]
root     57569  0.0  0.0 321696 10948 ?        Ss   23:09   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache   57585  0.0  0.0 324100  9124 ?        S    23:09   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache   57586  0.0  0.0 324132  8156 ?        S    23:09   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache   57587  0.0  0.0 324100  8240 ?        S    23:09   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
apache   57589  0.0  0.0 324100  8328 ?        S    23:09   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
root     60008  0.1  0.0      0     0 ?        S    23:36   0:00 [kworker/u128:1]
root     61803  0.0  0.0      0     0 ?        S    22:06   0:00 [kworker/11:0]
apache   65258  0.0  0.0 324100  8308 ?        S    23:13   0:00 /sbin/httpd -DSTATUS -f /etc/httpd/conf/httpd.conf -c PidFile /var/r
root     65504  0.0  0.0 107892   612 ?        S    23:39   0:00 sleep 60
[root@nagios1 ~]#

nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by nagmoto »

Here is the log showing nagios is still logging into /var/log/message even I set "use_syslog=0" in /etc/nagios/nagios.cfg file.

Code: Select all

[root@nagios1 ~]# grep " nagios: " /var/log/messages  |grep "Apr 11" |wc -l
3902
[root@nagios1 ~]# grep "^use_syslog" /etc/nagios/nagios.cfg
use_syslog=0
[root@nagios1 ~]# date
Sat Apr 11 23:54:20 EDT 2015
[root@nagios1 ~]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by tgriep »

I just tested this and it seems to work on my test system.
Can you post your nagios.cfg file?
Can you run the following and post the output here?

Code: Select all

tail --lines 100 /var/log/messages
Be sure to check out our Knowledgebase for helpful articles and solutions!
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by nagmoto »

The syslog logging stopped since yesterday(04/12/2015). This is a node on pacemaker under nagios ocf agent's control. I will try to reproduce it on another fresh built test node.

Code: Select all

[root@nagios1 ~]# grep -l nagios: /var/log/messages /var/log/messages*
/var/log/messages-20150412
[root@nagios1 ~]# 

Code: Select all

[root@nagios1 ~]# cat /etc/nagios/nagios.cfg |grep -v ^# |grep -v ^$
log_file=/var/log/nagios/nagios.log
cfg_file=/etc/nagios/objects/commands.cfg
cfg_file=/etc/nagios/objects/contacts.cfg
cfg_file=/etc/nagios/objects/timeperiods.cfg
cfg_file=/etc/nagios/objects/templates.cfg
cfg_file=/etc/nagios/objects/hostgroups.cfg
cfg_file=/etc/nagios/objects/servicegroups.cfg
cfg_file=/etc/nagios/objects/localhost.cfg
cfg_dir=/etc/nagios/servers
object_cache_file=/var/nagios/objects.cache
precached_object_file=/var/nagios/objects.precache
resource_file=/etc/nagios/resource.cfg
status_file=/var/nagios/status.dat
status_update_interval=10
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_file=/var/nagios/rw/nagios.cmd
lock_file=/var/nagios/nagios.pid
temp_file=/var/nagios/nagios.tmp
temp_path=/tmp
event_broker_options=-1
broker_module=/usr/local/lib/mk-livestatus/livestatus.o /var/spool/nagios/cmd/livestatus idle_timeout=12000 num_client_threads=20
log_rotation_method=d
log_archive_path=/var/log/nagios/archives
use_syslog=0
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=0
log_current_states=1
log_external_commands=1
log_passive_checks=1
service_inter_check_delay_method=s
max_service_check_spread=30
service_interleave_factor=s
host_inter_check_delay_method=s
max_host_check_spread=30
max_concurrent_checks=0
check_result_reaper_frequency=10
max_check_result_reaper_time=30
check_result_path=/var/nagios/spool/checkresults
max_check_result_file_age=3600
cached_host_check_horizon=15
cached_service_check_horizon=15
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
soft_state_dependencies=0
auto_reschedule_checks=0
auto_rescheduling_interval=30
auto_rescheduling_window=180
service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=/var/nagios/retention.dat
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=1
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
interval_length=60
check_for_updates=1
bare_update_check=0
use_aggressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
execute_host_checks=1
accept_passive_host_checks=1
enable_notifications=0
enable_event_handlers=1
process_performance_data=0
obsess_over_services=0
obsess_over_hosts=0
translate_passive_host_checks=0
passive_host_checks_are_soft=0
check_for_orphaned_services=1
check_for_orphaned_hosts=1
check_service_freshness=1
service_freshness_check_interval=60
service_check_timeout_state=c
check_host_freshness=0
host_freshness_check_interval=60
additional_freshness_latency=15
enable_flap_detection=1
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=us
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
admin_email=nagios@localhost
admin_pager=pagenagios@localhost
daemon_dumps_core=0
use_large_installation_tweaks=0
enable_environment_macros=0
debug_level=0
debug_verbosity=0
debug_file=/var/log/nagios/nagios.debug
max_debug_file_size=1000000
allow_empty_hostgroup_assignment=0
process_performance_data=1
service_perfdata_file=/var/log/nagios/service-perfdata
service_perfdata_file_template=DATATYPE::SERVICEPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tSERVICEDESC::$SERVICEDESC$\tSERVICEPERFDATA::$SERVICEPERFDATA$\tSERVICECHECKCOMMAND::$SERVICECHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$\tSERVICESTATE::$SERVICESTATE$\tSERVICESTATETYPE::$SERVICESTATETYPE$
service_perfdata_file_mode=a
service_perfdata_file_processing_interval=30
service_perfdata_file_processing_command=process-service-perfdata-file
host_perfdata_file=/var/log/nagios/host-perfdata
host_perfdata_file_template=DATATYPE::HOSTPERFDATA\tTIMET::$TIMET$\tHOSTNAME::$HOSTNAME$\tHOSTPERFDATA::$HOSTPERFDATA$\tHOSTCHECKCOMMAND::$HOSTCHECKCOMMAND$\tHOSTSTATE::$HOSTSTATE$\tHOSTSTATETYPE::$HOSTSTATETYPE$
host_perfdata_file_mode=a
host_perfdata_file_processing_interval=30
host_perfdata_file_processing_command=process-host-perfdata-file
[root@nagios1 ~]# 
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by abrist »

Yeah, I just tested this on my 4.1 system and it is working. You must have had multiple parent processes (running with the old config with syslog turned on) or something.
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.
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by nagmoto »

please resolve this ticket.
Indeed, I do have multiple nagios.cfg.
[root@nagios1 ~]# locate nagios.cfg
/data/etc/nagios/nagios.cfg
/data2/etc/nagios/nagios.cfg
/etc/nagios.old/nagios.cfg
/etc/nagios.orig/nagios.cfg
[root@nagios1 ~]# grep use_syslog /etc/nagios.orig/nagios.cfg
use_syslog=1
[root@nagios1 ~]#
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: syslog=0 has not effect in Nagios core 4.1RC

Post by tgriep »

I just want to verify that is the logging to /var/log/messages is disabled?
Can we close the post?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked