From e737eb59454786e0861247deda5d0814863db82d Mon Sep 17 00:00:00 2001 From: slerena Date: Fri, 22 Feb 2013 17:56:43 +0000 Subject: [PATCH] 2013-02-22 Sancho Lerena * lib/PandoraFMS/Tools.pm: My MacOS boxes was being ignored due lack of "darwin" detection here :( git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/lib/PandoraFMS/Tools.pm | 3 +++ 2 files changed, 8 insertions(+) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index faa4b52228..b4ae0b48e1 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2013-02-22 Sancho Lerena + + * lib/PandoraFMS/Tools.pm: My MacOS boxes was being ignored + due lack of "darwin" detection here :( + 2013-02-20 Sancho Lerena * lib/PandoraFMS/Core.pm: Fixed problem with SNMP alerts: they diff --git a/pandora_server/lib/PandoraFMS/Tools.pm b/pandora_server/lib/PandoraFMS/Tools.pm index 9c98513265..c0f6ca8272 100644 --- a/pandora_server/lib/PandoraFMS/Tools.pm +++ b/pandora_server/lib/PandoraFMS/Tools.pm @@ -257,6 +257,9 @@ sub pandora_get_os ($) { } elsif ($command =~ m/Apple/i) { return 8; + } + elsif ($command =~ m/Darwin/i){ + return 8; } elsif ($command =~ m/Linux/i) { return 1;