## set the v1/2c specific session traits $snmp_options{community} = $xml->{node}->{$args->{host}}->{snmp}->[0]->{community}->[0] || $xml->{snmp}->[0]->{community}->[0]; #### ## set the v1/2c specific session traits $snmp_options{community} = $xml->{node}->{$args->{host}}->{snmp}->[0]->{community}->[0] || $xml->{snmp}->[0]->{community}->[0] || "private"; #### 1 1 5.0 1500 0 private 10.6.21.230