Skip to content

Commit

Permalink
Fixes #16689: Technique SNMP installation doesn't work on non-debian …
Browse files Browse the repository at this point in the history
…like system
  • Loading branch information
ncharles committed Feb 6, 2020
1 parent 99935fd commit 7d06379
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions techniques/applications/snmp/1.0/snmp.st
Expand Up @@ -30,7 +30,12 @@ bundle agent snmp {
&SNMP_COMMUNITY_NAME:{name | "name[&i&]" string => "&name&";
}&

debian|ubuntu::
"snmp_package" string => "snmpd";
!(debian|ubuntu)::
"package_name" string => "net-snmp";

any::
"snmp_service" string => "snmpd";
"canonified_snmp_package" string => canonify("${snmp_package}");
"canonified_snmp_service" string => canonify("${snmp_service}");
Expand Down

0 comments on commit 7d06379

Please sign in to comment.