Forum Discussion
Testing monitors
Hello all!
I need to test a monitor into two servers and compare de outputs from de test-monitor command from tmsh, but iam receive de message the monitor object no exist. How i must enter de command ?
root@(lb80)(cfg-sync Changes Pending)(Active)(/PRODUCAO)(tmos.ltm.monitor.http) test-monitor mon_http_site01 address 172.16.33.35 port 80 No such monitor 'mon_http_site01' root@(lb80)(cfg-sync Changes Pending)(Active)(/PRODUCAO)(tmos.ltm.monitor.http)
Ty all!
2 Replies
- R_Marc
Nimbostratus
I think this particular error is because you are in the monitor. If you run that from the partition root, I think it that particular error will go away. I couldn't get it to do anything there though. I also can't find any documentation on test-monitor (sounds like a cool feature) but it would appear, based on my poking at it, that it is for testing monitoring scripts, not actual ltm monitors (hopefully someone will correct me, as I would really like this myself the way you are trying to use it).
If you are running 11.6, a new feature was added to add debugging to HTTP/HTTPS monitors so you can see what LTM is seeing (available in the individual member settings of a pool, not on the monitor itself).
When I'm trying to develop an HTTP/HTTPs monitor, I typically just use telnet or openssl and send the commands manually.
- nitass
Employee
can you try full path?
ID381710 - tmsh util test-monitor tools: when in partition other than Common, running test-monitor for monitor in that partition still requires full path
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com