not able to disable notification from UI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

not able to disable notification from UI

Post by iwang »

I fail to disable the nagios server from the UI

You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: not able to disable notification from UI

Post by benjaminsmith »

Hello @iwang,

Thank you for posting the screenshot. How big is your system and are there any other issues present? Let's run a tail command on the subsystem log, then try disabling the notifications again and post the output.

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: not able to disable notification from UI

Post by iwang »

benjaminsmith wrote:Hello @iwang,

Thank you for posting the screenshot. How big is your system and are there any other issues present? Let's run a tail command on the subsystem log, then try disabling the notifications again and post the output.

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
The tail log is as belows:
............................................................PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0

PHP script '/usr/local/nagiosxi/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.4.lin' to be installed.

1) Download the required loader 'ixed.5.4.lin' from the SourceGuardian site: http://www.sourceguardian.com/loaders/d ... s_m=x86_64
2) Install the loader to /usr/lib64/php/modules
3) Edit /etc/php.ini and add 'extension=ixed.5.4.lin' directive


PROCESSED 0 COMMANDS
After i followed what steps, we got thousands of alerts. and tail the file, i got:
-bash-4.1# tail -f /usr/local/nagiosxi/var/cmdsubsys.log
.
PROCESSED 8 COMMANDS
...........................................................PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
.
PROCESSED 0 COMMANDS
.......................................................PROCESSING COMMAND ID 22147...
PROCESS COMMAND: CMD=16, DATA=a:1:{s:3:"cmd";i:12;}
COMMAND DATA: a:1:{s:3:"cmd";i:12;}
CMDARR:
Array
(
[cmd] => 12
)
CORE CMD: ENABLE_NOTIFICATIONS;0
SUBMITTING A NAGIOSCORE COMMAND...
....PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0

PROCESSED 1 COMMANDS
.............................................PROCESSING COMMAND ID 22148...
PROCESS COMMAND: CMD=16, DATA=a:1:{s:3:"cmd";i:11;}
COMMAND DATA: a:1:{s:3:"cmd";i:11;}
CMDARR:
Array
(
[cmd] => 11
)
CORE CMD: DISABLE_NOTIFICATIONS;0
SUBMITTING A NAGIOSCORE COMMAND...
...............PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
.
PROCESSED 1 COMMANDS
......................................................
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: not able to disable notification from UI

Post by benjaminsmith »

Hello,

Well, It looks like it may be necessary to re-install the SourceGaurdian Loaders, but before making any changes I'd like to review the system profile to see which versions of software the system is running.

To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Also, what is the output to the following command? Thanks.

Code: Select all

yum repolist
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: not able to disable notification from UI

Post by iwang »

reboot the machine then we got the server back..
iwang
Posts: 41
Joined: Tue Nov 12, 2019 1:22 pm

Re: not able to disable notification from UI

Post by iwang »

rebooted the machine, i got the error gone. but please double check if they are normal:

Code: Select all

$ sudo tail -f /usr/local/nagiosxi/var/cmdsubsys.log

PROCESSED 0 COMMANDS
............................................................PHP Warning:  PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0

PROCESSED 0 COMMANDS
.....................^C[iwang@scclnagiosxi01 ~]$ sudo yum repolist
Plugin "enabled_repos_upload" can't be imported
Plugin "package_upload" can't be imported
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
epel/metalink                                            |  17 kB     00:00     
 * epel: mirrors.sonic.net
 * remi-safe: remi.xpg.com.br
cr                                                                             | 3.3 kB     00:00     
extras                                                                         | 3.4 kB     00:00     
http://remi.xpg.com.br/enterprise/6/safe/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
https://mirror.sjc02.svwh.net/remi/enterprise/6/safe/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection
Trying other mirror.
remi-safe                                                                      | 3.0 kB     00:00     
remi-safe/primary_db                                                                 | 1.2 MB     00:00     
updates                                                                              | 3.4 kB     00:00     
repo id                   repo name                                                                   status
cr                        CentOS-6 - CR                                                                    0
epel                      Extra Packages for Enterprise Linux 6 - x86_64                              12,584
extras                    CentOS-6 - Extras                                                               50
remi-safe                 Safe Remi's RPM repository for Enterprise Linux 6 - x86_64                   2,894
updates                   CentOS-6 - Updates                                                           1,263
repolist: 16,791

benjaminsmith wrote:Hello,

Well, It looks like it may be necessary to re-install the SourceGaurdian Loaders, but before making any changes I'd like to review the system profile to see which versions of software the system is running.

To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Also, what is the output to the following command? Thanks.

Code: Select all

yum repolist
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: not able to disable notification from UI

Post by benjaminsmith »

Hello @iwang,

So after the reboot, the issue has been resolved? Can you post the output of the following command to check the php packages installed on the server?

Code: Select all

rpm -qa | grep php
Also, are you running a VM or physical server? Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked