2013-02-22 Sancho Lerena <slerena@artica.es>

*  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
This commit is contained in:
slerena 2013-02-22 17:56:43 +00:00
parent 637521475a
commit e737eb5945
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-02-22 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Tools.pm: My MacOS boxes was being ignored
due lack of "darwin" detection here :(
2013-02-20 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed problem with SNMP alerts: they

View File

@ -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;