I have a precondition set up in an AIX check.
File contents %~ '/^[^#]+.*snmpd\s/' Where File Name (With Path) = '/etc/rc.tcpip' AND File Type = 'file' AND NoOfLinesToReturn = '0' with Missing Data Outcome being 'Manual Review' and Multiple Data Operator being 'OR'
The precondition works fine and returns an N/A as it's supposed to. but in the scan results comes back as a fail. is there a way to get a precondition to return a 'pass' in the scan results? I have been searching in the forum for something to this effect as im pretty sure this has been covered before. Unless im going about it the wrong way.
We want to eval SNMP configurations if SNMP is enabled. if SNMP isnt enabed in the rc.tcpip file, then we dont need to eval SNMP settings and this should just pass.
maybe i am going about this the wrong way. any suggestions?
thanks
Jason