From f1bbd35a679e36de48bc889fc60bf8a475ffea70 Mon Sep 17 00:00:00 2001 From: mariopulido87 Date: Thu, 13 Mar 2014 14:03:46 +0000 Subject: [PATCH] 2014-03-13 Mario Pulido * plugins/inventory: Distributions compatibility git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/unix/ChangeLog | 4 ++++ pandora_agents/unix/plugins/inventory | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog index 7e47de7e35..299fbbc708 100644 --- a/pandora_agents/unix/ChangeLog +++ b/pandora_agents/unix/ChangeLog @@ -1,3 +1,7 @@ +2014-03-13 Mario Pulido + + * plugins/inventory: Distributions compatibility + 2014-02-03 Mario Pulido * SunOS/make_solaris_package/README: Update compatible SunOS versions diff --git a/pandora_agents/unix/plugins/inventory b/pandora_agents/unix/plugins/inventory index 90c588359c..3a32366be6 100755 --- a/pandora_agents/unix/plugins/inventory +++ b/pandora_agents/unix/plugins/inventory @@ -63,7 +63,7 @@ sub get_module_data ($$$$) { sub get_file_system($$) { my ($name, $modules) = @_; - my @fileSystems = `df -h | tail -n +2`; #remove the titles of columns + my @fileSystems = `df -hP | tail -n +2`; #remove the titles of columns foreach my $row (@fileSystems) { next unless ($row =~ /^(\S+)\s+\S+\s+(\S+)\s+(\S+)\s+\S+\s+(\S+)/);