Ad Widget
Collapse
TCP port monitoring template not working
Collapse
This topic has been answered.
X
X
-
Again back to LLD basics (not specific to this template, and you didn't mention explicitly what you did/checked, so I'll ask):
- Did you wait for the discovery to happen (or trigger the discovery manually)?
- Did you delete the old (filtered) items manually? Based on your first screenshot the discovery keeps lost resources for 30 days. In the item list there will be exclamation marks for items that are not discovered anymore.
MarkkuComment
-
"Unlink and clear" template from host, added again, wait for discover (with default setting 24h).
Again back to LLD basics (not specific to this template, and you didn't mention explicitly what you did/checked, so I'll ask):
- Did you wait for the discovery to happen (or trigger the discovery manually)?
- Did you delete the old (filtered) items manually? Based on your first screenshot the discovery keeps lost resources for 30 days. In the item list there will be exclamation marks for items that are not discovered anymore.
Markku
It has discovered everything again, this shot is with macro {$TCP.PORT.MATCHES} at host level with value ^(22|3306|5555)$Comment
-
Ok, oh well. As you saw from the beginning, the template is not very high quality (the contradicting information about using system.run/ss.tcp.listening/netstat/ss/whatever). So there is a problem in Filter: "Type of calculation" was set to "And/Or" which was in this case evaluated as "Or". Set it to "And", and the filtering starts working properly.
Markku- Selected Answer
Comment
-
You made my day.Ok, oh well. As you saw from the beginning, the template is not very high quality (the contradicting information about using system.run/ss.tcp.listening/netstat/ss/whatever). So there is a problem in Filter: "Type of calculation" was set to "And/Or" which was in this case evaluated as "Or". Set it to "And", and the filtering starts working properly.
Markku
Comment
-
Comment