Search found 43 matches

by kbauma01
Fri Oct 04, 2024 8:06 am
Forum: Nagios XI
Topic: pymongo and updating it
Replies: 3
Views: 986

Re: pymongo and updating it

I removed pymongo 4.1.1 and added 4.10.1.

pip list | grep pymongo
pip uninstall pymongo (that got rid of 4.1.1)

I had to make sure I was using python 3.9 to add 4.10.1

python3.9 -m pip install --upgrade pymongo
python3.9 -m pip list | grep pymongo

So far no issues, I consider that a win!
by kbauma01
Wed Oct 02, 2024 5:28 am
Forum: Nagios XI
Topic: pymongo and updating it
Replies: 3
Views: 986

Re: pymongo and updating it

Nope, not monitoring MongoDB at all. I'll update it, see what happens, and report back!
by kbauma01
Tue Oct 01, 2024 7:57 am
Forum: Nagios XI
Topic: pymongo and updating it
Replies: 3
Views: 986

pymongo and updating it

We are getting a vulnerablity report on /usr/local/lib64/python3.6/site-packages/pymongo. The installed version is 4.1.1, the fixed version is 4.6.3. If I upgrade it, will that break anything Nagios XI related? I'm guessing no (and yes, I will take a snapshot of it) but I just wanted to check. RedHa...
by kbauma01
Fri Sep 27, 2024 10:11 am
Forum: Nagios XI
Topic: Bash script to plugin
Replies: 1
Views: 558

Bash script to plugin

Hey everyone, I have a very basic bash script that checks if a file exists. When I run it on the command line, it works with no issues. # ./check_file_exist.sh /junk CRITICAL - /junk does not exist! # ./check_file_exist.sh /var/log/messages OK - /var/log/messages exists. My question is how do I get ...
by kbauma01
Thu Sep 19, 2024 9:32 am
Forum: Nagios XI
Topic: Hung NFS mounts
Replies: 2
Views: 906

Hung NFS mounts

Every once in a while (mainly when our NAS is upgraded or patched, ~2x/year) we have some mounts that hang. The only way we find out is running a script during the upgrade that does a df -h, which doesn't come back so we know which server to fix. Is there a way to essentially check a NAS mount via d...
by kbauma01
Tue Sep 10, 2024 9:56 am
Forum: Nagios XI
Topic: jquery vulnerability showing on AIX
Replies: 6
Views: 1018

Re: jquery vulnerability showing on AIX

Thanks @jsimon

Is there a newer NCPA agent for AIX? The one I see is 2.2.1.
by kbauma01
Tue Sep 10, 2024 8:55 am
Forum: Nagios XI
Topic: jquery vulnerability showing on AIX
Replies: 6
Views: 1018

jquery vulnerability showing on AIX

Hello everyone, Our vulnerability scanning tool is coming back with JQuery 1.2 < 3.5.0 Multiple XSS (CVE-2020-11022) but only on our AIX servers. I'm curious if anyone seen this. https://server1:5693/static/js/jquery.3.4.1.min.js That .js file is in /usr/local/ncpa/listener/static/js/jquery.3.4.1.mi...
by kbauma01
Thu Jun 27, 2024 7:16 am
Forum: Nagios XI
Topic: XI and automate downtime via ansible
Replies: 6
Views: 1960

Re: XI and automate downtime via ansible

That helped a lot, thanks @miajackson11!

Now I have to figure out how to have ansible use different hosts file for each job. I'm grateful for the assistance everyone!
by kbauma01
Tue Jun 18, 2024 9:55 am
Forum: Nagios XI
Topic: XI and automate downtime via ansible
Replies: 6
Views: 1960

Re: XI and automate downtime via ansible

Here is my playbook. And yes, it's basic. I can make it pretty after :lol: I'm running this on a server that has access to all my servers. Should I be running that as root or as nagios? --- ########################## # Used to downtime a host# ########################## - name: Test downtime hosts: ...
by kbauma01
Tue Jun 18, 2024 7:08 am
Forum: Nagios XI
Topic: XI and automate downtime via ansible
Replies: 6
Views: 1960

XI and automate downtime via ansible

Hello all, I'm trying to automate downtime using an ansible playbook and I am getting errors. I'm using the nagios user, which has the rights and keys to access the servers, and I can only get it to work on one server which is the nagios server itself. I tried copying in the nagios.cfg file but that...