Search found 25 matches
- Tue Apr 15, 2014 11:42 am
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
Our previous build was configured exactly the same on this system ./configure --with-nagios-user=nagios --with-nagios-group=nagios Our configuration is really very simple, out-of-the-box install from the source code. So, I suspect something has changed -- and this may need to be logged as a bug or s...
- Mon Apr 14, 2014 4:38 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
I did a chgrp "apache" to the nagios.cmd file and it's working -- this makes some sense, as that is the effective group of the apache server. But, with our older Nagios installation (3.x) under CentOS 5.x, this is not necessary. So, what changed in the code (I wonder) if anything that this...
- Mon Apr 14, 2014 4:27 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
Logging in with a regular account, with LDAP/SSSD disabled, had no effect. When I went to reschedule a check, it gave the same error.
That is, I disabled LDAP/SSSD and added a local user (me) along with a local "nagios" user and "nagios" group.
That is, I disabled LDAP/SSSD and added a local user (me) along with a local "nagios" user and "nagios" group.
- Mon Apr 14, 2014 4:17 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
Nagios itself isn't using LDAP, and other parts of Nagios appear to be working fine. I will look into reconfiguring the VM to use standard logins and see if that makes a difference.
- Fri Apr 11, 2014 4:13 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
This is what the lot was compiled with:
Code: Select all
./configure --with-nagios-user=nagios --with-nagios-group=nagios
- Thu Apr 10, 2014 3:28 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
I am able to su to nagios and access the nagios.cmd file without any problems.
Again, this is on a brand new installation (from source). SELinux is not a factor, there are no ACLs on that directory structure. I am able to repeat this error each time, without changing anything.
Again, this is on a brand new installation (from source). SELinux is not a factor, there are no ACLs on that directory structure. I am able to repeat this error each time, without changing anything.
- Thu Apr 10, 2014 11:50 am
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Re: Unable to open ~nagios/var/rw/nagios.cmd
We are also using LDAP for UID/GID, and I wonder if this plays a part in the issue (SSSD). Here is the output (below). I did experiment by adding these to /etc/passwd and /etc/group, as our nsswitch.conf has "files" as a first lookup, but that had no affect. Thanks! # ll -d /usr/local/nagi...
- Wed Apr 09, 2014 6:00 pm
- Forum: Open Source Nagios Projects
- Topic: Unable to open ~nagios/var/rw/nagios.cmd
- Replies: 13
- Views: 6799
Unable to open ~nagios/var/rw/nagios.cmd
We have a brand new nagios-4.0.4 installation that I've been testing. The first time around, I ran into this error. I'm convinced it's not a permissions problem on that directory, nor is it a group membership issue (nagios is in the apache group). I re-did the installation (kickstart VM) and perform...
- Fri Jan 24, 2014 2:33 pm
- Forum: Open Source Nagios Projects
- Topic: Separating out failed mounts w/ check_nfs_mounts
- Replies: 3
- Views: 1662
Re: Separating out failed mounts w/ check_nfs_mounts
Oops, I think you are right. We have a few systems that are pre-installed here and I didn't happen to take note of that prior to posting. I don't see any way to accomplish what I need with the current framework. I would have to write a separate check for each /mount/point -- and that's not going to ...
- Thu Jan 23, 2014 10:42 pm
- Forum: Open Source Nagios Projects
- Topic: Separating out failed mounts w/ check_nfs_mounts
- Replies: 3
- Views: 1662
Separating out failed mounts w/ check_nfs_mounts
I've been hacking around with some scripting in an effort to solve an irritating problem with the stock check_nfs_mounts.sh script (or that procedure). The problem being when you pass an array of mount points to check, if one of them fails, the entire alert is in error and you don't really know whic...