Page 2 of 2

Re: folder watch

Posted: Thu Sep 08, 2016 3:44 pm
by iroy
Nagios XI 5.2.9
Folder Watch 1.0.1

Re: folder watch

Posted: Thu Sep 08, 2016 3:49 pm
by iroy
Nagios XI 5.2.9
Folder watch 1.0.1

Re: folder watch

Posted: Thu Sep 08, 2016 3:58 pm
by lmiltchev
Open the "/usr/local/nagiosxi/html/includes/configwizards/folder_watch/folder_watch.inc.php" file in a text editor, and comment out lines 54 through 58. See example below:

Code: Select all

// Verify there were no errors running the plugin and that the perl module exists
 55     //if (!empty($stderr) || strpos($stdout, "Can't locate") !== false) {
 56     //    $errors[] = _('It looks like the install script has failed. You may need to run the script as root:') . '<br>
 57     //        <b>sh /usr/local/nagiosxi/html/includes/configwizards/folder_watch/install.sh</b>';
 58     //}
Try running the wizard again. Now it should work.
Again, we are trying to help out, but XI is not officially supported on Ubuntu, at least not yet. :)

Re: folder watch

Posted: Thu Sep 08, 2016 6:15 pm
by iroy
thanks lots lmiltchev.

with you about the "not supported" and deeply appreciate your help.

Commenting out the lines helped in configuring folder watch; but email/sms is not going out even when the "bad" files are there in the folder.

setting of folder_watch is in attached file.

Re: folder watch

Posted: Fri Sep 09, 2016 9:20 am
by rkennedy
When you navigate to Home -> Notifications, are they showing as sent? Are you using SMTP or sendmail?