Search found 50 matches
- Mon Sep 08, 2014 12:50 pm
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
I'm wondering if it might be ok to simply call the command without arguments. I just added this to nrpe.cfg: command[check_disk]=/usr/lib/nagios/plugins/check_disk / On the problem hosts and, now, I'm seeing what's shown in the attached screen-shot. So, transform-staging is the only problem machine ...
- Fri Sep 05, 2014 5:53 pm
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
I believe I'm getting a clearer sense of how things work. Thanks. Working with a few more services will likely get me to where I'm good on it all. The main problem that I'm seeing, now, is that the line in the attached screen-shot is showing for the monitored host that I'm currently focusing on. Whe...
- Fri Sep 05, 2014 11:19 am
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
This is VERY confusing. It looks to me like all the commands are getting defined in /etc/nagios3/conf.d/commands.cfg. Beyond the code that I've added to that file for check_disk, do I also need to add the command[check_disk]=/usr/lib64/nagios/plugins/check_disk $ARG1$ to /etc/nagios/nrpe.cfg? That's...
- Thu Sep 04, 2014 11:29 am
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
Oh, I saw your comment after I posted that edit to my last... [root@ip-10-160-23-32 ~]# /usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p / DISK OK - free space: / 5204 MB (65% inode=79%);| /=2777MB;6450;7256;0;8063 So, I just started looking around in /etc/nagios3/conf.d, on the Nagios server. ...
- Thu Sep 04, 2014 11:10 am
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
I get:
[nagios@ip-10-160-23-32 ~]$ /usr/lib64/nagios/plugins/check_disk !-w 20% -c 10% -p /
/usr/lib64/nagios/plugins/check_disk which ohai 20% -c 10% -p /
DISK CRITICAL - which is not accessible: No such file or directory
But,
[root@ip-10-160-23-32 ~]# which ohai
/usr/bin/ohai
[nagios@ip-10-160-23-32 ~]$ /usr/lib64/nagios/plugins/check_disk !-w 20% -c 10% -p /
/usr/lib64/nagios/plugins/check_disk which ohai 20% -c 10% -p /
DISK CRITICAL - which is not accessible: No such file or directory
But,
[root@ip-10-160-23-32 ~]# which ohai
/usr/bin/ohai
- Wed Sep 03, 2014 4:47 pm
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
Yeah, from portal-production (the monitored node), I get: [root@ip-10-160-23-32 ~]# netstat -na | grep 5666 tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN tcp 0 0 :::5666 And from the Nagios server, I get: root@ip-10-244-20-90:~# /usr/lib/nagios/plugins/check_nrpe -H 50.18.168.192 NRPE v2.15
- Wed Sep 03, 2014 2:16 pm
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
After looking over your last post, I ran this, on the Nagios server: root@ip-10-244-20-90:/etc# grep -R check_nrpe * nagios3/conf.d/commands.cfg: command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_nagios -t 20 nagios3/conf.d/commands.cfg: command_name check_nrpe_alive nagios3/conf.d/commands....
- Wed Sep 03, 2014 1:31 pm
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
No, the only change that I've made, in about 6 months is to add the apt-if-appropriate code, for installing apt only on Debian/Ubuntu VMs. Do you happen to know what steps I would need to follow to get the check_disk command setup? If I can just get that down to a manual process, I'll be able to add...
- Wed Sep 03, 2014 11:35 am
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
Yeah, it really looks like something must have changed, but I'm the only person in our organization who knows anything about Chef and it's been many months since I last did an upload of any kind. "portal-production" is a node that's showing the "NRPE: Command 'check_disk' not defined&...
- Tue Sep 02, 2014 5:55 pm
- Forum: Open Source Nagios Projects
- Topic: Fixing damaged and/or partial installs of Nagios
- Replies: 26
- Views: 9337
Re: Fixing damaged and/or partial installs of Nagios
Ok, but I'm not able to determine, from the replies that I've seen on the forum, so far, what my next steps need to be, precisely. I know of no way that changes would have been made to the setup on any of these hosts. Yet, suddenly, a few weeks ago, bogus alerts started coming out related to the &qu...