Search found 167 matches

by paul.jobb
Mon Aug 31, 2020 10:16 am
Forum: Nagios XI
Topic: Nagios stopping aftter applyconfig
Replies: 5
Views: 964

Re: Nagios stopping aftter applyconfig

I scheduled those automation scripts that update nagios and re-apply config through cron and I haven't had seen any problems. So i'm thinking maybe just an anomaly, I don't know. I did add those two entries to limits.conf, I still get that same error though "WARNING: RLIMIT_NPROC is 63450, tota...
by paul.jobb
Thu Aug 27, 2020 12:08 pm
Forum: Nagios XI
Topic: Nagios stopping aftter applyconfig
Replies: 5
Views: 964

Re: Nagios stopping aftter applyconfig

Thanks,

I added those settings and rebooted the server.

to restart the service its just "systemctl start nagios" and it seems to be fine after no problems.

I sent you the profile.
by paul.jobb
Wed Aug 26, 2020 10:02 am
Forum: Nagios XI
Topic: Nagios stopping aftter applyconfig
Replies: 5
Views: 964

Nagios stopping aftter applyconfig

Hi I have some daily automation that updates nagios and applies the configuration using the nagiosxi rest api's. Periodically after that job runs, not always, the nagios daemon will stop shortly after. Looking where I might troubleshoot this, its possible this may have started happening after I did ...
by paul.jobb
Fri Aug 14, 2020 4:51 pm
Forum: Nagios XI
Topic: User Action
Replies: 2
Views: 533

Re: User Action

you can close this, I found a work around

#!/bin/sh

RESFILE="/home/nagios/.nagiosresource/resource.cfg"

USER=$(grep -m 1 '\$USER22\$' $RESFILE | cut -d'=' -f2)
PW=$(grep -m 1 '\$USER23\$' $RESFILE | cut -d'=' -f2)
by paul.jobb
Fri Aug 14, 2020 11:52 am
Forum: Nagios XI
Topic: User Action
Replies: 2
Views: 533

User Action

Hi; I am using this document: https://assets.nagios.com/downloads/nagiosxi/docs/How-To-Use-The-Actions-Component-in-Nagios-XI.pdf Is it possible to access user defined macros contained in the resource.cfg file? I am using check_ipmi_sensor to monitor some solaris servers via the iLom The only way fo...
by paul.jobb
Wed Jul 05, 2017 3:17 pm
Forum: Nagios XI
Topic: Upgrade Error to 5.4.6
Replies: 3
Views: 724

Re: Upgrade Error to 5.4.6

run as root and that particular machine is just using the ova which I haven't changed any configuration on outside of adding a ram disk per the documented process. The tail of the upgrade.log file lists as follows: /usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies https://localhos...
by paul.jobb
Tue Jul 04, 2017 11:33 am
Forum: Nagios XI
Topic: Upgrade Error to 5.4.6
Replies: 3
Views: 724

Upgrade Error to 5.4.6

I Upgraded an 5.3.0 centos image to version 5.4.6 and the script ended with the following error: sudo: unable to open /etc/sudoers: Permission denied sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin RESETTING CONFIG PERMS FAILED!\n It appears that the upgrade w...
by paul.jobb
Tue Jun 13, 2017 2:14 pm
Forum: Open Source Nagios Projects
Topic: check_dhcp plugin
Replies: 2
Views: 1023

Re: check_dhcp plugin

fair enough, check_multi would probably work as well, I will put in a feature request. Thanks for the link, you can close the thread
by paul.jobb
Tue Jun 13, 2017 1:04 pm
Forum: Open Source Nagios Projects
Topic: check_dhcp plugin
Replies: 2
Views: 1023

check_dhcp plugin

Hi; I am using the check_dhcp plugin as follows ./check_dhcp -i ens224 -s 111.222.333.444 -s 555.666.777.888 when offers aren't received would it be possible to include the addresses of the servers in the output? currently it just returns the following WARNING: Received 1 DHCPOFFER(s), only 1 of 2 r...
by paul.jobb
Tue Apr 11, 2017 12:07 pm
Forum: Nagios XI
Topic: Disable Notifications
Replies: 12
Views: 2041

Re: Disable Notifications

appears to be 1.0.2