folder watch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: folder watch

Post by iroy »

Nagios XI 5.2.9
Folder Watch 1.0.1
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: folder watch

Post by iroy »

Nagios XI 5.2.9
Folder watch 1.0.1
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: folder watch

Post 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. :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
iroy
Posts: 53
Joined: Tue Jul 26, 2016 4:46 pm

Re: folder watch

Post 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.
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: folder watch

Post by rkennedy »

When you navigate to Home -> Notifications, are they showing as sent? Are you using SMTP or sendmail?
Former Nagios Employee
Locked