Check telnet is listening on host
-
-
There are no telnet check at the moment, but you can use "User defined" service check for this:
*) Right click on node -> Create -> Service
*) Type any name; set "Service Type" to "User defined" and change "TCP/UDP Port" to "23"
*) Press Ok to save changes -
-
Yes, it's possible. You should have NetXMS agent on monitored host, and have portCheck subagent loaded. Then in properties of network service you wish to check set poller node to monitored host with portCheck subagent.
-
Okay im really missing something here.
I have an agent on 10.x.x.x that needs to test telnet port on host 123.1.x.x
I goto 10.x.x.x create new service where do i give the hostname 123.1.x.x
Ive also looked at the netxms tests but once gain the netxms->agent-Custom test not sure of what format to give it the 123.1.x.x 23.
-
@corkies said in Check telnet is listening on host:
I have an agent on 10.x.x.x that needs to test telnet port on host 123.1.x.x
You should go like this:
- Ensure that portCheck.nsm (or libnsm_portCheck on UNIX) is loaded at 10.x.x.x
- Create node object for 123.1.x.x
- Create network service object under node 123.1.x.x, set it's port to 23
- For that service object, set poller node to 10.x.x.x
This will cause server to monitor telnet port on node 123.1.x.x from node 10.x.x.x. If something goes wrong, service object will change it's status to CRITICAL.
Alternative way, if you wish to use DCIs:
- Ensure that portCheck.nsm (or libnsm_portCheck on UNIX) is loaded at 10.x.x.x
- Create new DCI on 10.x.x.x for agent's parameter ServiceCheck.Custom(123.1.x.x,23)
This will create DCI which will check port 23 on host 123.1.x.x when polled. Values can be following:
0 = service ok
1 = bad arguments
2 = connect failed
3 = protocol handshake failedBest regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login