This support forum board is for support questions relating to
Nagios XI, our flagship commercial network monitoring solution.
-
SilvesterDU
- Posts: 17
- Joined: Sun Aug 02, 2015 11:39 pm
Post
by SilvesterDU »
ssax wrote:Sounds good, let us know the results.
First, I've set up the SSH keys, so that from the nagios appliance can ssh to the isilon host without keyboard interaction using the account nagios
Nagios_ssh_Problem1.png
Next, I've set up the crontab under the nagios account.
Unfortunately, the Nagios service details GUI and the isilon-checks.log still reports the same result.
Nagios_servicestatus1.png
Silvester
You do not have the required permissions to view the files attached to this post.
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple »
Curious - what does that file look like:
Code: Select all
ls -l /opt/nagios/var/
tail /opt/nagios/var/isilon-checks.log
-
SilvesterDU
- Posts: 17
- Joined: Sun Aug 02, 2015 11:39 pm
Post
by SilvesterDU »
jdalrymple wrote:Curious - what does that file look like:
Code: Select all
ls -l /opt/nagios/var/
tail /opt/nagios/var/isilon-checks.log
Hi,
There is no /nagios/var folder existing under /opt. I guess you are meaning "/usr/local/nagios" in my environment. Here are the result
Code: Select all
[nagios@localhost ~]$ ls -l /usr/local/nagios/var/
total 21884
drwxrwxr-x 2 nagios nagios 4096 Aug 16 23:59 archives
-rw-r--r-- 1 nagios nagios 1262900 Aug 17 22:52 host-perfdata
-rw-r--r-- 1 root root 64 Aug 17 22:50 isilon-checks.log
-rw-r--r-- 1 nagios nagios 34 Aug 17 03:25 nagios.configtest
-rw-r--r-- 1 nagios nagios 5 Aug 17 03:25 nagios.lock
-rw-r--r-- 1 nagios nagios 1034808 Aug 17 22:44 nagios.log
-rw-r--r-- 1 nagios nagios 5 Aug 2 23:53 ndo2db.lock
-rw-r--r-- 1 nagios nagios 0 Aug 17 03:25 ndomod.tmp
srwxr-xr-x 1 nagios nagios 0 Aug 2 23:53 ndo.sock
-rw-r--r-- 1 nagios nagios 548 Aug 2 23:53 npcd.log
-rw-r--r-- 1 nagios nagios 66822 Aug 17 03:25 objects.cache
-rw-r--r-- 1 nagios nagios 66822 Aug 17 03:25 objects.precache
-rw------- 1 nagios users 76078 Aug 17 22:25 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Aug 17 03:25 rw
-rw-r--r-- 1 nagios nagios 19760617 Aug 17 22:51 service-perfdata
drwxr-xr-x 5 nagios nagios 4096 Apr 23 11:42 spool
drwxr-xr-x 2 nagios nagios 4096 Aug 11 11:45 stats
-rw-rw-r-- 1 nagios users 76443 Aug 17 22:52 status.dat
[nagios@localhost ~]$ tail /usr/local/nagios/var/isilon-checks.log
Remote command execution failed: Host key verification failed.
Silvester
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Post
by jdalrymple »
So then regarding that cron entry you're supposed to make - did you adjust the paths there accordingly?
Code: Select all
*/5 * * * * /opt/nagios/libexec/ce/isilon-checks.sh > /opt/nagios/var/isilon-checks.log
I suspect that isilon-checks.log is where all of the check result information comes from. Not certain, but it's a hunch.