Search found 225 matches

by jwelch
Thu Jan 19, 2017 12:32 pm
Forum: Nagios XI
Topic: Trying to find the best way to pull information
Replies: 12
Views: 1277

Re: Trying to find the best way to pull information

I installed livestatus (from the Check_MK folks) on my Nagios XI server and it's now very easy to pull host/service/status data from Nagios on my server quickly and with low overhead. (YMMV)
by jwelch
Thu Jan 05, 2017 12:40 pm
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

I commented out that portion of sysstat.php, restarted nagios, tried the start action again, and checked sysstat.log: CMDLINE=/etc/init.d/nagios status nagios (pid 39945) is running... OUTPUT=nagios (pid 39945) is running... RETURNCODE=0 CMDLINE=/etc/init.d/npcd status NPCD running (pid 7762). OUTPU...
by jwelch
Thu Jan 05, 2017 12:30 pm
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

looks like the problem may be with /usr/local/nagiosxi/cron/sysstat.php # Check if we are on a systemctl or not and if we are checking ndo2db if (file_exists('/usr/lib/systemd')) { if ($darr["daemon"] == 'ndo2db') { $cmdline = sprintf("systemctl status %s", $darr["daemon&quo...
by jwelch
Thu Jan 05, 2017 12:11 pm
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

r# ll /usr/lib/systemd total 4 drwxr-xr-x 2 root root 4096 Nov 7 13:59 system Meanwhile, I tried the 'restart' action in XI System Component Status (which failed), but left some info in /usr/local/nagiosxi/var/sysstat.log: CMDLINE=/etc/init.d/nagios status nagios (pid 805) is running... OUTPUT=nagio...
by jwelch
Thu Jan 05, 2017 10:31 am
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

probably easier for you do pull it and do a diff. When I cut and pasted from your post, it included a bunch of whitespace.
See attached /etc/init.d/ndo2db file (had to rename it to ndo2db.txt so I could attach it.
ndo2db.txt
by jwelch
Wed Jan 04, 2017 2:22 pm
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

# su - nagios
nagios ~]$ /etc/init.d/ndo2db status
ndo2db (pid 8400) is running...
nagios ~]$ sudo /etc/init.d/ndo2db status
ndo2db (pid 8400) is running...
nagios ~]$
by jwelch
Wed Jan 04, 2017 1:36 pm
Forum: Nagios XI
Topic: Reported Nagios exploit: CVE-2016-9565
Replies: 4
Views: 1445

Re: Reported Nagios exploit: CVE-2016-9565

yes
by jwelch
Wed Jan 04, 2017 12:43 pm
Forum: Nagios XI
Topic: Reported Nagios exploit: CVE-2016-9565
Replies: 4
Views: 1445

Re: Reported Nagios exploit: CVE-2016-9565

Updated to 5.4.0.
I assume that the issue is resolved.
Thanks.
by jwelch
Wed Jan 04, 2017 11:35 am
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

same place...(symlink) /etc# /etc/init.d/ndo2db status ndo2db (pid 8400) is running... /etc# /etc/rc.d/init.d/ndo2db status ndo2db (pid 8400) is running... # In order for me to do any troubleshooting, I need to know how the XI gui determines the database backend status. I got lost in php include fil...
by jwelch
Wed Jan 04, 2017 4:46 am
Forum: Nagios XI
Topic: After upgrade from 5.3.4 to 5.4.0, Database Backend error
Replies: 36
Views: 5267

Re: After upgrade from 5.3.4 to 5.4.0, Database Backend erro

Thanks for the info. Unfortunately, my /usr/local/nagios/etc/ndo2db.cfg contains: lock_file=/usr/local/nagios/var/ndo2db.lock Which matches /usr/local/nagios/var/bdi2db.lock, which has the correct pid number: # cat ndo2db.lock 8400 # ps -eaf | grep 8400 nagios 8400 1 0 04:29 ? 00:00:00 /usr/local/na...