|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (7)
View Page History# First, create a new *Data Input Method*:
!petals-container-localtransporter-dim.jpg|align=center!
!petals-container-localtransporter-dim.jpg|align=center!
In the *Input String*, you will put the command line needed to get the number of delivered messages for a given message exchange status. That's why the command line ends with *<status>*.
# Add an input field to your data input method
# Add an input field to your data input method
Cacti monitoring extension of Petals CLI is used to get metric values.
In the *Input String*, you will put the command line arguments to connect to the the Petals node for which you want to graph the delivered messages of the local transporter. That's why the command line contains: *<petals_host>*, *<petals_jmx_port>*, *<petals_jmx_user>* and *<petals_jmx_password>*.
# Add an input field for your Petals node hostname
In the *Input String*, you will put the command line arguments to connect to the the Petals node for which you want to graph the delivered messages of the local transporter. That's why the command line contains: *<petals_host>*, *<petals_jmx_port>*, *<petals_jmx_user>* and *<petals_jmx_password>*.
# Add an input field for your Petals node hostname
!petals-container-localtransporter-dim-status.jpg|align=center! !petals-container-localtransporter-dim-petals-host.jpg|align=center!
# Add the output field to your data input method
As the Petals node hostname can be automatically set from the hostname of the monitored host, the field *Special Type Code* is set.
# Add others input fields
# Add others input fields
!petals-container-localtransporter-dim-output.jpg|align=center! !petals-container-localtransporter-dim-petals-jmx-port.jpg|align=center!
As for the JMX port, create an input field for the Petals JMX username and the Petals JMX user password.
# Add the output fields returned by the script
For each message exchange status "Active", "Done" and "Error", create an output field:
!petals-container-localtransporter-dim-output-active.jpg|align=center!
# Check that you have the following *Data Input Method*:
!petals-container-localtransporter-dim-full.jpg|align=center!
# Add the output fields returned by the script
For each message exchange status "Active", "Done" and "Error", create an output field:
!petals-container-localtransporter-dim-output-active.jpg|align=center!
# Check that you have the following *Data Input Method*:
!petals-container-localtransporter-dim-full.jpg|align=center!
# Create a new *Data Template*:
!petals-container-localtransporter-dt.jpg|align=center!
!petals-container-localtransporter-dt.jpg|align=center!