yes. this is same check with same result.
There is some kind of user environment problem.
i think that i should run all checks with db2inst user (db2 super user), which works without any problems.
Search found 14 matches
- Thu Nov 05, 2015 2:16 am
- Forum: Open Source Nagios Projects
- Topic: NRPE - strange problem
- Replies: 11
- Views: 7050
- Wed Nov 04, 2015 2:23 am
- Forum: Open Source Nagios Projects
- Topic: NRPE - strange problem
- Replies: 11
- Views: 7050
Re: NRPE - strange problem
nagios@db2v10:/usr/lib/nagios/plugins> cat /tmp/check_database_connection.log 2015-11-04-08.17.59 28347 Started check_database_connection -i /home/db2inst1/ -d testdb 2015-11-04-08.18.01 28347 Ended check_database_connection -i /home/db2inst1/ -d testdb by default path i didn't fully understand you,...
- Tue Nov 03, 2015 1:24 am
- Forum: Open Source Nagios Projects
- Topic: NRPE - strange problem
- Replies: 11
- Views: 7050
Re: NRPE - strange problem
Super.
This is my nrpe.cfg file
http://pastebin.com/E8epiTT7
and this is check_database_connection
https://github.com/angoca/monitor-db2-with-nagios/blob/master/check_database_connection
This is my nrpe.cfg file
http://pastebin.com/E8epiTT7
and this is check_database_connection
https://github.com/angoca/monitor-db2-with-nagios/blob/master/check_database_connection
- Mon Nov 02, 2015 7:16 am
- Forum: Open Source Nagios Projects
- Topic: NRPE - strange problem
- Replies: 11
- Views: 7050
Re: NRPE - strange problem
Yes, you were right. There is a difference in PATH, RUNLEVEL and SHLVL. NRPE env call: TERM=xterm NRPE_PROGRAMVERSION=2.12 LC_ALL=POSIX REMOTE_HOST=192.168.1.11 COLUMNS=158 PATH=/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin RUNLEVEL=5 _=/usr/bin/env PWD=/ DAEMON=/usr/sb...
- Thu Oct 29, 2015 2:17 pm
- Forum: Open Source Nagios Projects
- Topic: NRPE - strange problem
- Replies: 11
- Views: 7050
Re: NRPE - strange problem
Sorry. it's SLES 11 SP3 (s390x) on SystemZ platform. Did check on apparmor service and it's not installed. To me it's strange because i can run almost all checks (cpu, disks,users,...db2 instance up...etc) without any problems. Troubles are with db2 checks which includes database paramater, but only...
- Thu Oct 29, 2015 5:45 am
- Forum: Open Source Nagios Projects
- Topic: NRPE - strange problem
- Replies: 11
- Views: 7050
NRPE - strange problem
Hi, i have very unusual problem which i will try to explain. NRPE is used on few servers and it's working without any problems. Yesterday i was trying to add checks for ibm db2 database and came out with this... if i run same command as "local" nagios user on remote host. nagios@tdb2v10:/u...
- Fri Mar 06, 2015 4:13 pm
- Forum: Open Source Nagios Projects
- Topic: Flexible downtime - notifications
- Replies: 2
- Views: 1497
Re: Flexible downtime - notifications
That's great to hear. Fingers crossed.
Thank you.
Thank you.
- Thu Mar 05, 2015 7:30 am
- Forum: Open Source Nagios Projects
- Topic: Flexible downtime - notifications
- Replies: 2
- Views: 1497
Flexible downtime - notifications
Hi, i would like to ask you if there is anything new on this problem? http://tracker.nagios.org/view.php?id=568 ("After scheduling flexible downtime when service enters critical state nothing happens. Service enters downtime 3 second after entering Critical Hard state instead of entering downti...
- Sat May 03, 2014 10:18 am
- Forum: Open Source Nagios Projects
- Topic: [Solved] Nagios and random snmp error
- Replies: 11
- Views: 7985
Re: Nagios and random snmp error
Hi,
sorry for late response, but i have great news. Did a lot of testing last week and i think that i can now finally say that problem is solved.
Thanks to you. After using -t flag in check_snmp, problem gone away at least no UNKNOWNs in this week.
Again thank you for all your help.
sorry for late response, but i have great news. Did a lot of testing last week and i think that i can now finally say that problem is solved.
Thanks to you. After using -t flag in check_snmp, problem gone away at least no UNKNOWNs in this week.
Again thank you for all your help.
- Wed Apr 23, 2014 5:52 pm
- Forum: Open Source Nagios Projects
- Topic: [Solved] Nagios and random snmp error
- Replies: 11
- Views: 7985
Re: Nagios and random snmp error
Hi, device is brand new and it's wago 750-880 eth controller. Right now i am running against it 115 snmp checks...but next week i will need to add 90 new checks to it. Right now checks are in 3 time groups(important "realtime" values,states,"constants"). 50checks = 3min,30checks=...