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:
parent
637521475a
commit
e737eb5945
|
@ -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
|
||||
|
|
|
@ -258,6 +258,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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue