Search found 157 matches

by TSCAdmin
Fri Sep 20, 2013 5:41 am
Forum: Nagios XI
Topic: Urgent: servicedependencies error
Replies: 4
Views: 850

Re: Urgent: servicedependencies error

I had no choice but to restore two days old backup to get things moving again.

However, I would appreciate if someone can post a possible resolution for this. Thanks.
by TSCAdmin
Fri Sep 20, 2013 2:32 am
Forum: Nagios XI
Topic: Urgent: servicedependencies error
Replies: 4
Views: 850

Re: Urgent: servicedependencies error

There are no entries for host "ussqlkcr" in CCM -> Advanced -> Service Dependencies. But in the Host Management section I see this: err_003.png but in the servicedependencies.cfg I see this: define servicedependency { host_name ussqlkcr inherits_parent 1 execution_failure_criteria n notifi...
by TSCAdmin
Thu Sep 19, 2013 8:18 am
Forum: Nagios XI
Topic: Urgent: servicedependencies error
Replies: 4
Views: 850

Urgent: servicedependencies error

Hi, We are using Nagios XI 2009R1.3. I was making some changes to the servicedependencies through the XI web interface for a host named "ussqlkcr", after I applied the configuration it threw some error: Error: Could not expand master services specified in service dependency (config file '/...
by TSCAdmin
Mon May 20, 2013 3:11 pm
Forum: Nagios XI
Topic: Event Handlers strange behaviour
Replies: 7
Views: 2381

Re: Event Handlers strange behaviour

Hi, I think I have cracked it! It was a mistake at my end, apologies for the trouble. Everything was good and working except the CRITICAL/WARNING messages. The only catch was to quote the final argument, $SERVICEOUTPUT$", that were being passed to the event handler script and boooooooom! define...
by TSCAdmin
Tue May 14, 2013 6:06 am
Forum: Nagios XI
Topic: Event Handlers strange behaviour
Replies: 7
Views: 2381

Re: Event Handlers strange behaviour

Hi, I enabled the log_event_handlers in nagios.cfg. Here are the complete details: event handler definition: define command { command_name xi_tmp_dir_event_handler command_line /usr/local/nagios/libexec/eventhandlers/tmp_dir_event_handler.sh $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTAD...
by TSCAdmin
Mon May 13, 2013 12:47 pm
Forum: Nagios XI
Topic: Event Handlers strange behaviour
Replies: 7
Views: 2381

Re: Event Handlers strange behaviour

Hi, Yes it does include the logic of problem state. Here is how the command has been defined: define command{ command_name event_handler_tmp_directory_listing command_line /usr/local/nagios/libexec/eventhandlers/event_handler_tmp_directory_listing.sh $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT...
by TSCAdmin
Mon May 13, 2013 8:07 am
Forum: Nagios XI
Topic: Event Handlers strange behaviour
Replies: 7
Views: 2381

Event Handlers strange behaviour

Hi, We are using Nagios XI 2009R1.3 on CentOS release 5.4 (Final). On a bunch of hosts we want to notify the server owners if /tmp partition is over a threshold limit via e-mail. To achieve this I was implementing event handlers. This is how my service definition looks like: define service { host_na...
by TSCAdmin
Wed Jan 09, 2013 9:25 am
Forum: Nagios XI
Topic: Hostgroup hosts limit?
Replies: 9
Views: 1913

Re: Hostgroup hosts limit?

Many thanks, Mike! I highly appreciate the quick turn around.
by TSCAdmin
Tue Jan 08, 2013 4:34 am
Forum: Nagios XI
Topic: Hostgroup hosts limit?
Replies: 9
Views: 1913

Re: Hostgroup hosts limit?

Hi Mike, I checked /var/www/html/nagiosql/functions/import_class.php but it already reads $resFile = fopen($strFileName,"r"); but there is one code entry, one line below, which read $strConfLine = fgets($resFile,4096); so I changed it to: $resFile = fopen($strFileName,"r"); while...
by TSCAdmin
Mon Jan 07, 2013 1:40 pm
Forum: Nagios XI
Topic: Hostgroup hosts limit?
Replies: 9
Views: 1913

Re: Hostgroup hosts limit?

Hi lmiltchev, Yes, all these hosts actually exist and are being "monitored" by Nagios. All of them are currently in UP and OK state. I have tried deleting and/or re-importing the hostgroups.cfg several times but it still shows me 285 hosts in this hostgroup. I tried adding the last few hos...