ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vitthal (Suhas) Gogate (JIRA)" <>
Subject [jira] [Commented] (AMBARI-641) change the nagios file location according to platform
Date Wed, 18 Jul 2012 00:53:35 GMT


vitthal (Suhas) Gogate commented on AMBARI-641:

Sorry Hitesh, did not see your comment before committing... actually I checked the php_uname
and PHP_OS constant, although the name of the os they return on SLES didn't look good, so
wasn't sure if it is useful. 

Here is what I get on SLES

echo php_uname();
Linux ip-10-68-107-124 #1 SMP 2011-09-29 17:49:31 +0200 x86_64

echo PHP_OS;

Although agree we may need something better to check for OS than specific file existence :)

> change the nagios file location according to platform
> -----------------------------------------------------------------
>                 Key: AMBARI-641
>                 URL:
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: vitthal (Suhas) Gogate
>            Assignee: vitthal (Suhas) Gogate
>             Fix For: 0.9.0
>         Attachments: AMBARI-641.patch
> Nagios has status.dat file that is read by nagios_alerts.php script in monitoring dashboard
nagios addons component to display the nagios alerts on the dashboard. It should change the
path of this file depending upon the platform e.g. on redhat/centos it is /var/nagios/status.dat
 vs on SLES it is /var/lib/nagios/status.dat 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message