Search found 15 matches

by lucasari
Wed Aug 02, 2023 1:54 am
Forum: Nagios XI
Topic: PHP Notice: DB is not connected.....
Replies: 5
Views: 7579

Re: PHP Notice: DB is not connected.....

I'm having the same error messages in /var/log/apache2/error.log

my current system:
Nagios XI: 5.11.1
PHP: 7.4.3-4ubuntu2.19 (cli) (built: Jun 27 2023 15:49:59) ( NTS )
OS: Ubuntu 20.04.6 LTS
by lucasari
Sun Jan 10, 2021 11:10 pm
Forum: Nagios XI
Topic: Solaris 10 NCPA bash plugin not working
Replies: 1
Views: 167

Solaris 10 NCPA bash plugin not working

Hi, i created a Bash script that allows me to check for connection (ping or specific port) from a monitored Solaris 10 server to other destinations. the script works on its own, but not when ran from NCPA. am I calling it wrong? #!/bin/bash server=$1; port=$2; #netcat location #netcat=nc netcat=/opt...
by lucasari
Wed Nov 04, 2020 9:55 pm
Forum: Nagios XI
Topic: Max Comment History Age
Replies: 3
Views: 407

Re: Max Comment History Age

we are having some issues with getting the comments removed after using this function. in fact, we set the retention to 10 minutes, but we are still seeing comments that are much older. they do not get deleted. how can we make sure the comments older than a certain amount of time get deleted? is the...
by lucasari
Thu Oct 08, 2020 8:39 pm
Forum: Nagios XI
Topic: Max Comment History Age
Replies: 3
Views: 407

Max Comment History Age

Hi, we have the need to delete every comment on services and host 3 days after they have been created. we found the option "Max Comment History Age" in Admin -> Performance Settings -> Databases. If we set this option to 3, will it actually delete the comments after 3 days have passed from...
by lucasari
Wed Apr 22, 2020 7:59 pm
Forum: Nagios XI
Topic: cannot disable or delete host when "exclude" dependency set
Replies: 6
Views: 613

Re: cannot disable or delete host when "exclude" dependency

I am familiar with these different dependencies and that's why we mostly use HostGroups to assign services. We organized all different services into hostgroups to easily assign the same services to multiple host at once. One example of hostgroup could be "Windows Server OS" that automatica...
by lucasari
Tue Apr 21, 2020 10:14 pm
Forum: Nagios XI
Topic: cannot disable or delete host when "exclude" dependency set
Replies: 6
Views: 613

cannot disable or delete host when "exclude" dependency set

Hi, I was trying to disable an host from the CCM, but it was not allowing me for it had some "dependencies". I tried to delete it. the system allowed me, but when I tried to apply the configuration it threw some errors and had to revert to the latest snapshot. Luckily I did remember that I...
by lucasari
Sun Mar 01, 2020 1:11 am
Forum: Nagios XI
Topic: Nagios XI API current_state not equal to 0
Replies: 3
Views: 361

Re: Nagios XI API current_state not equal to 0

that was very helpful!
is there a document with all these special operans for the API? I have been looking for it without luck.
by lucasari
Fri Feb 28, 2020 2:14 am
Forum: Nagios XI
Topic: Nagios XI API current_state not equal to 0
Replies: 3
Views: 361

Nagios XI API current_state not equal to 0

Hi, I found that it is possible to filter ther services and hosts in the API call hoststatus and servicestatus by current_state = <<state number>> is it possible to filter by a negation? I would need to retrieve all services or hosts where the status is different from OK. if that is not possible whe...
by lucasari
Wed Jan 29, 2020 10:43 am
Forum: Nagios XI
Topic: NCPA on Windows to monitor windows updates
Replies: 2
Views: 566

Re: NCPA on Windows to monitor windows updates

I found the possible reason: NCPA for windows runs in 32bit, while the key is present only in the 64 bit version of the registry. is there any plan to build NCPA in 64 bit for windows? UPDATE: I found a way to run a 64bit powershell from NCPA. I edited the ncpa.cfg file for the execution of .ps1 fil...