Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

UI Button
colormagenta
titleFluorine
urlhttp://doc.perspectium.com/display/fluorine


Custom external events can be posted directly to Observer for monitoring. The following is an example using python and the AMQP python client to create a method that will post a flag for external events to Observer:

Code Block
#!/usr/bin/env python

import pika
credentials = pika.PlainCredentials('username','password')
connection = pika.BlockingConnection(pika.ConnectionParameters('instance-amqp.perspectium.net',5672,'/',credentials))
channel = connection.channel()
channel.queue_declare()
channel.basic_publish(exchange='',routing_key='psp.in.servicenow',body='{ topic:"monitor", type:"statsx", key:"demo005", name:"transaction_sec", value: "1423"}')
connection.close()



Similar topics


Content by Label
showLabelsfalse
max5
showSpacefalse
sortmodified
cqllabel = in ("observer-for-servicenow","advanced-config") and parent = "327838"space = currentSpace()


Contact Perspectium Support


US: 1 888 620 8880

UK: 44 208 068 5953

support@perspectium.com