Search found 18 matches

by christiandunn1
Thu Feb 02, 2017 3:32 pm
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

Re: SNMP Service Check Timeout

I got a syntax error running "ps aux | grep nagios.cfg | grep -v grep | awk '{print $2'} | xargs kill -9" I (perhaps) foolishly ran the rest of the commands and here is the new ipcs output. [root@prdmon1 ~]# ipcs -q ------ Message Queues -------- key msqid owner perms used-bytes messages 0...
by christiandunn1
Thu Feb 02, 2017 11:32 am
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

Re: SNMP Service Check Timeout

Here are the commands (I tested using the linux check as we have the same issue with both scripts): [root@prdmon1 libexec]# ./check_snmp_process_wizard.pl -H 199.214.10.76 -C xxxx --v2c -n 'BESClient' -w '0' -c '0' 1 process matching BESClient (> 0) [root@prdmon1 libexec]# ./check_snmp_process_wizar...
by christiandunn1
Wed Feb 01, 2017 3:48 pm
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

Re: SNMP Service Check Timeout

Ok I've run the commands with strace and have uploaded a success and a failure.
stracegood.txt
stracebad.txt
by christiandunn1
Wed Feb 01, 2017 12:57 pm
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

Re: SNMP Service Check Timeout

When setting the -t to 60 I get the same behavior except it takes 60 seconds to error instead of the previous 5 seconds. [root@prdmon1 libexec]# ./check_snmp_win.pl -H prdsdb1 -C xxxx -n 'BES Client' -t 60 1 services active (matching "BES Client") : OK [root@prdmon1 libexec]# ./check_snmp_...
by christiandunn1
Wed Feb 01, 2017 11:12 am
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

Re: SNMP Service Check Timeout

I don't believe adding the .exe will work as the check seems to require the service name as opposed to the executable as shown below. The current check does work however intermittently. [root@prdmon1 libexec]# ./check_snmp_win.pl -H prdsdb1 -C xxxx -n 'BES Client.exe' No services matching "BES ...
by christiandunn1
Tue Jan 31, 2017 5:08 pm
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

Re: SNMP Service Check Timeout

The community string does not have any special characters. [root@prdmon1 ~]# nmap -sU -p161 prdsdb1 Starting Nmap 6.47 ( http://nmap.org ) at 2017-01-31 15:02 MST Nmap scan report for prdsdb1 (199.214.10.68) Host is up (0.00096s latency). rDNS record for 199.214.10.68: tstsanrep.agric.gov.ab.ca PORT...
by christiandunn1
Tue Jan 31, 2017 4:20 pm
Forum: Nagios XI
Topic: SNMP Service Check Timeout
Replies: 15
Views: 2005

SNMP Service Check Timeout

Linux Distribution and version? RHEL 7.2 32 or 64bit? 64-bit VMware Image or Manual Install of XI? Manual Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? We are using SSL. Hi, Ever since we performed an update in Fall 2016 we've been...
by christiandunn1
Mon Jan 09, 2017 3:00 pm
Forum: Nagios XI
Topic: Upgrade Failure from 5.2.9 to 5.4.0
Replies: 13
Views: 1147

Re: Upgrade Failure from 5.2.9 to 5.4.0

Worked like a charm. It is now showing as up to date. Thanks for your help, this post can be closed.
by christiandunn1
Mon Jan 09, 2017 1:59 pm
Forum: Nagios XI
Topic: Upgrade Failure from 5.2.9 to 5.4.0
Replies: 13
Views: 1147

Re: Upgrade Failure from 5.2.9 to 5.4.0

Since I'm fairly poor at scripting I'll await your reply for the exact lines instead of screwing this thing up worse than I have :) Thanks!
by christiandunn1
Fri Jan 06, 2017 1:13 pm
Forum: Nagios XI
Topic: Upgrade Failure from 5.2.9 to 5.4.0
Replies: 13
Views: 1147

Re: Upgrade Failure from 5.2.9 to 5.4.0

That seems to have fixed the syntax error but the script still exits with:

Dashlets installed/updated OK
ERROR 1060 (42S21) at line 39: Duplicate column name 'exclude'
[root@prdmon1 nagiosxi]#


I've uploaded the upgrade.log as well.
upgrade.log