Skip to content

Commit fec8f40

Browse files
authored
Fix unix agent not polling (librenms#20029)
fixes librenms#20025
1 parent 027d7d6 commit fec8f40

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

LibreNMS/Polling/ConnectivityHelper.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ public function ipmiIsAvailable(): bool
7878

7979
public function unixAgentIsEnabled(): bool
8080
{
81-
return false;
81+
$os_group = LibrenmsConfig::get("os.{$this->device->os}.group");
82+
83+
return $os_group == 'unix' || $this->device->os == 'windows';
8284
}
8385

8486
public function unixAgentIsAvailable(): bool

0 commit comments

Comments
 (0)