[
https://issues.apache.org/jira/browse/AMBARI-641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416561#comment-13416561
]
Hitesh Shah commented on AMBARI-641:
------------------------------------
@Suhas, could you look at whether something like php_uname() might be more
useful as a check for os type as compared to looking for existence of
/etc/SuSe-release ?
> change the nagios status.data file location according to platform
> -----------------------------------------------------------------
>
> Key: AMBARI-641
> URL: https://issues.apache.org/jira/browse/AMBARI-641
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: vitthal (Suhas) Gogate
> Assignee: vitthal (Suhas) Gogate
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira