Nagiosxi does not show availability report

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jonathan.cruz
Posts: 42
Joined: Tue Jul 28, 2015 3:06 pm

Nagiosxi does not show availability report

Post by jonathan.cruz »

Hello all well

I'm getting the error below when trying to review any report availability.

Availability date is not available When monitoring engine is not running.

Monitoring services are running normally.


Any Help ?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagiosxi does not show availability report

Post by hsmith »

Can you got to Admin --> System Information --> System Status, take a screenshot, and post it here?
Former Nagios Employee.
me.
jonathan.cruz
Posts: 42
Joined: Tue Jul 28, 2015 3:06 pm

Re: Nagiosxi does not show availability report

Post by jonathan.cruz »

some features are unstable
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagiosxi does not show availability report

Post by hsmith »

Those are some pretty high loads, can we get some information about your system?

Code: Select all

lscpu
top | head -n25
free -m
df -h
df -ih
Let's see why cron is failing to run those jobs:

Code: Select all

service crond status
tail -n200 /var/log/cron
ps ef | grep cron
Former Nagios Employee.
me.
jonathan.cruz
Posts: 42
Joined: Tue Jul 28, 2015 3:06 pm

Re: Nagiosxi does not show availability report

Post by jonathan.cruz »

Jan 13 15:01:01 MYSERVER crond[2574]: (nagios) ERROR (failed to change user)
Jan 13 15:01:01 MYSERVER crond[2576]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable
Jan 13 15:01:01 MYSERVER crond[2576]: (nagios) ERROR (failed to change user)
Jan 13 15:01:01 MYSERVER crond[2575]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable
Jan 13 15:01:01 MYSERVER crond[2575]: (nagios) ERROR (failed to change user)
Jan 13 15:01:01 MYSERVER crond[2577]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable
Jan 13 15:01:01 MYSERVER crond[2577]: (nagios) ERROR (failed to change user)
Jan 13 15:01:01 MYSERVER crond[2579]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable
Jan 13 15:01:01 MYSERVER crond[2579]: (nagios) ERROR (failed to change user)
Jan 13 15:01:01 MYSERVER crond[2578]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable


# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 1
Core(s) per socket: 8
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 47
Stepping: 2
CPU MHz: 1994.998
BogoMIPS: 3989.99
Hypervisor vendor: VMware
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 24576K
NUMA node0 CPU(s): 0-15
NUMA node1 CPU(s):



##################################################################
# top | head -n25
top - 14:58:45 up 26 days, 3:06, 1 user, load average: 5.20, 4.90, 4.63
# running, 1676 sleeping, 0 stopped, 0 zombie
Cpu(s): 23.3%us, 4.4%sy, 0.0%ni, 70.2%id, 1.9%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 16326596k total, 9831024k used, 6495572k free, 147032k buffers
Swap: 2064380k total, 23052k used, 2041328k free, 7001020k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
32734 nagios 20 0 328m 26m 12m S 42.1 0.2 0:00.24 check_oracle_he
4015 apache 20 0 463m 53m 5260 S 36.8 0.3 5:04.19 httpd
50424 apache 20 0 463m 53m 5208 S 33.3 0.3 9:11.63 httpd
32670 root 20 0 16236 2456 884 R 8.8 0.0 0:00.11 top
32802 nagios 20 0 110m 2968 1688 S 8.8 0.0 0:00.05 snmpwalk
120 root 20 0 0 0 0 S 5.3 0.0 9:38.65 kblockd/14
32695 nagios 20 0 110m 2964 1688 S 5.3 0.0 0:00.03 snmpwalk
32698 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32702 nagios 20 0 110m 2972 1688 S 5.3 0.0 0:00.03 snmpwalk
32718 nagios 20 0 110m 2972 1688 S 5.3 0.0 0:00.03 snmpwalk
32730 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32736 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32752 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32765 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32768 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32771 nagios 20 0 110m 2964 1688 S 5.3 0.0 0:00.03 snmpwalk
32774 nagios 20 0 110m 2968 1688 S 5.3 0.0 0:00.03 snmpwalk
32777 nagios 20 0 110m 2972 1688 S 5.3 0.0 0:00.03 snmpwalk

free -m
total used free shared buffers cached
Mem: 15943 9634 6309 34 143 6838
-/+ buffers/cache: 2652 13291
Swap: 2015 22 1993
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagiosxi does not show availability report

Post by hsmith »

With 16 CPUs your load is much less alarming.

Code: Select all

Jan 13 15:01:01 MYSERVER crond[2574]: (nagios) ERROR (failed to change user)
Jan 13 15:01:01 MYSERVER crond[2576]: (CRON) ERROR (setreuid failed): Resource temporarily unavailable
Is your Nagios user expired?

Code: Select all

chage -l nagios
grep nagios /etc/passwd
Former Nagios Employee.
me.
jonathan.cruz
Posts: 42
Joined: Tue Jul 28, 2015 3:06 pm

Re: Nagiosxi does not show availability report

Post by jonathan.cruz »

No, i have check nagios user .

[root@MYSERVER ~]# chage -l nagios
Last password change : Apr 23, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7

root@MYSERVER ~]# grep nagios /etc/passwd
nagios:x:500:100::/home/nagios:/bin/bash
[root@MYSERVER ~]#
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagiosxi does not show availability report

Post by hsmith »

Can I please see the output of ps ef | grep cron
Former Nagios Employee.
me.
jonathan.cruz
Posts: 42
Joined: Tue Jul 28, 2015 3:06 pm

Re: Nagiosxi does not show availability report

Post by jonathan.cruz »

1161 pts/0 S+ 0:00 \_ grep cron HOSTNAME=MYSERVER TERM=xterm SHELL=/bin/bash HISTSIZE=1000 SSH_CLIENT=10.1.4.71 64505 22 SSH_TTY=/dev/pts/0 USER=root LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36: MAIL=/var/spool/mail/root PATH=/usr/lib/oracle/11.2/client64//bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin PWD=/root LANG=en_US.UTF-8 HISTCONTROL=ignoredups SHLVL=1 HOME=/root LOGNAME=root SSH_CONNECTION=10.1.4.71 64505 10.2.17.80 22 LESSOPEN=||/usr/bin/lesspipe.sh %s ORACLE_HOME=/usr/lib/oracle/11.2/client64/ G_BROKEN_FILENAMES=1 _=/bin/grep
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagiosxi does not show availability report

Post by hsmith »

Can you try to restart crond and see if this clears it up a bit?

Code: Select all

service crond restart
Let it run for about 5 minutes...

Code: Select all

tail -n200 /var/log/cron
Former Nagios Employee.
me.
Locked