Search found 14 matches

by Hendrik
Thu Aug 11, 2011 4:57 pm
Forum: Nagios XI
Topic: Host stays in "OUT OF SYNC" status
Replies: 1
Views: 782

Host stays in "OUT OF SYNC" status

Hi Guys

I checked all other threads.
- I worte config files
- checked for duplicates
- ensured host config is marked as active

But my host stays in Out of Sync, anything else I can check?
by Hendrik
Wed May 11, 2011 9:56 pm
Forum: Nagios XI
Topic: Check_Oracle_health
Replies: 3
Views: 1217

Re: Check_Oracle_health

The script that runs when you click "Apply Configuration" is /usr/local/nagiosxi/scripts/reconfigure_nagios.sh . I'm not sure I entirely understand your current setup, but if you're saying that it works if you log in to a console as the nagios user and restart the service it work, then pe...
by Hendrik
Tue May 10, 2011 10:33 pm
Forum: Nagios XI
Topic: Check_Oracle_health
Replies: 3
Views: 1217

Check_Oracle_health

Hi Guys

Whenever I apply configuration from the core config, my oracle checks fail due to env issues, all env are set for the nagios user, once i go to cli and restart nagios the checks work fine. Where can I add the env to ensure they get set whenever I click the apply configuration button?
by Hendrik
Mon Apr 18, 2011 2:53 pm
Forum: Nagios XI
Topic: No able to add new host
Replies: 3
Views: 1009

Re: No able to add new host

Hi I am using an image i downloaded last week ( Latest one) I am adding a host from the core config, I try by either using add new host button or by copying a currently existing one and changing the name. All new hosts I attempt to add stay on "Active" "not Synced", I have restar...
by Hendrik
Thu Apr 14, 2011 10:27 pm
Forum: Nagios XI
Topic: No able to add new host
Replies: 3
Views: 1009

No able to add new host

Hi Guys I just added a new Host and ensured I ticked the active box as yes, tha "apply config" runs succesfully but the host stays "Not Synced", I ended up trying to add various ones even coping working ones and renaming but the system does not want to add anymore hosts, ther are...
by Hendrik
Sun Feb 06, 2011 2:24 pm
Forum: Nagios XI
Topic: Custom host Variables for services use
Replies: 15
Views: 5330

Re: Custom host Variables for services use

Can you also check the objects.cache file for the check command for that service? If it's not in that file, there there might be a bug in NagiosQL that's causing that variable to get dropped before writing it to the config file. You could test the theory by putting the service config in the static ...
by Hendrik
Thu Feb 03, 2011 9:27 pm
Forum: Nagios XI
Topic: Custom host Variables for services use
Replies: 15
Views: 5330

Re: Custom host Variables for services use

Hi guys, any ideas?
by Hendrik
Tue Feb 01, 2011 5:46 pm
Forum: Nagios XI
Topic: Custom host Variables for services use
Replies: 15
Views: 5330

Re: Custom host Variables for services use

Yup Seems it is not passing the --connect:

check_command=check_oracle_health_vartest!test!test!!connection-time!--warning 3!--critical 5!

Command Used:
$USER1$/check_oracle_health --username $ARG1$ --password $ARG2$ --connect $_ORACLE_SID$ --mode $ARG4$ $ARG5$ $ARG6$
by Hendrik
Tue Feb 01, 2011 4:04 pm
Forum: Nagios XI
Topic: Custom host Variables for services use
Replies: 15
Views: 5330

Re: Custom host Variables for services use

I'm wondering if check commands are setup to be able to use the free variable definitions. I'm not sure what all is happening under the hood in that regard, but if it's only expecting a certain list of variables.... I'm wondering if it's literally passing $_ORACLESID$ as the value there. I'll ask o...
by Hendrik
Mon Jan 31, 2011 7:46 pm
Forum: Nagios XI
Topic: Custom host Variables for services use
Replies: 15
Views: 5330

Re: Custom host Variables for services use

Hmm, at the moment I'm not seeing why that isn't working, because from what you have there it should work. I'll look around and see if I can figure anything else out. Is there a way on the Oracle end to see exactly what command came in? It almost seems like the '$' sign got escaped and is actually ...