QueueMetrics forum

QueueMetrics => Scripting QueueMetrics => Topic started by: jit on January 06, 2010, 19:30:39

Title: Scripting from another machine?
Post by: jit on January 06, 2010, 19:30:39
Do I need to do anything special to run a script on a remote machine (not on the box running QM)? Aside from, of course, using a complete URL to point to the QM server?

I have been trying to use one of the scripts posted here on the forum (qmon.php). I have a user setup ("myremote") in the class ROBOTS and I'm using the correct password, but keep getting a message that the connection was refused.

Thanks.
Title: Re: Scripting from another machine?
Post by: QueueMetrics on January 06, 2010, 21:57:48
No - as long as you don't have firewalls and you are using the cotrrect URL and port number to access QM.
Title: Re: Scripting from another machine?
Post by: jit on January 07, 2010, 06:07:58
OK. Is the name of the robot user significant? Does it need to be "robot"? Do I need to do anything other than to assign them to the class "ROBOT" (and verify that the ROBOT class includes the "ROBOT" key).
Title: Re: Scripting from another machine?
Post by: QueueMetrics on January 07, 2010, 09:46:15
Robot is a predefined user that allows remote connection (it belongs to class ROBOTS, where it holds the key ROBOT).

Make sure that it's enabled - it ships in the default config, but it has to be turned on manually.