not able to disable notification from UI
Posted: Fri Feb 14, 2020 1:42 pm
I fail to disable the nagios server from the UI
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
The tail log is as belows: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
After i followed what steps, we got thousands of alerts. and tail the file, i got:............................................................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
-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
......................................................
Code: Select all
yum repolist
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
Code: Select all
rpm -qa | grep php