Versions Compared

Key

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

...

Now that we've looked at the process_windows or process_linux fields, let's take a look at some ' input ' variables for this monitor. If you are familiar with the Custom Remote Monitor in UIM, you've likely seen this combination of Agent Port, Agent Password, and Remote Script fields before, as these are commonly used to trigger custom agent scripts. A few notes:

  • We can see the Agent Port parameter is set up as type integer, and has the default port 9998 already set for us.
  • The password parameter is setup as a data_type of string, but also has the the gui_type set to <password/> which  which as mentioned above, tells UIM to encrypt this value when it's stored in the database, as well as blank out the field itself when displayed in the GUI.
  • The The remote_script and args fields  fields are both set up as basic string fields with nothing special about them. 

...

Now that we've talked about the details that go into a plugin's XML file, let's take a look at how these input variables are displayed in the Uptime Infrastructure Monitor UIM GUI when creating an instance of the ' Custom Remote Monitor':

Image RemovedImage Added

  • The first thing you'll notice is that we don't see either the process_windows or process_linux fields, but that's to be expected here, as those fields where set as hidden.
  • The contents of the password field are obscured as expected. 
  • The Remote Script & Arguments fields are basic string fields.
  • You can also see the two output values for this monitor, but we'll talk about those more later. 

...