haatronics.blogg.se

Powermta configuration guide
Powermta configuration guide







powermta configuration guide

I will provide more feedback soon Hmm, I am getting results when executing the script from the CLI: Import the host templates, it includes the data queries, graph templates, and host template.Ĭacti_host_template_powermta_server(2).xml Cacti host templates for power mta (117.16 KiB) Downloaded 771 timesĪleu wrote:I have managed to make it work. Total_out_rcp:6 total_out_msg:6 total_out_kb:5.8 total_in_rcp:2 total_in_msg:2 total_in_kb:2.0 total_gmImprinted:0 lastHr_out_rcp:0 lastHr_out_msg:0 lastHr_out_kb:0.0 lastHr_in_rcp:0 lastHr_in_msg:0 lastHr_in_kb:0.0 lastHr_gmImprinted:0 lastMin_out_rcp:0 lastMin_out_msg:0 lastMin_out_kb:0.0 lastMin_in_rcp:0 lastMin_in_msg:0 lastMin_in_kb:0.0 lastMin_gmImprinted:0 topPerHr_out_rcp:2 topPerHr_out_msg:2 topPerHr_out_kb:2.4 topPerHr_in_rcp:2 topPerHr_in_msg:2 topPerHr_in_kb:2.0 topPerHr_gmImprinted:0 topPerMin_out_rcp:1 topPerMin_out_msg:1 topPerMin_out_kb:1.2 topPerMin_in_rcp:1 topPerMin_in_msg:1 topPerMin_in_kb:1.0 topPerMin_gmImprinted:0 Smtp_rcp:0 smtp_dom:0 smtp_kb:0.0 pipe_rcp:0 pipe_dom:0 pipe_kb:0.0 discard_rcp:0 discard_dom:0 discard_kb:0.0 file_rcp:0 file_dom:0 file_kb:0.0 gmImprinter_rcp:0 gmImprinter_dom:0 gmImprinter_kb:0.0 alias_rcp:0 alias_dom:0 alias_kb:0.0 It looks roughly like this when using it from command line Next we have a very simple little script I wrote up to return the data in a way that cacti can digest $repeated_tag_index++ //0 and 1 index is already taken

powermta configuration guide

If ($priority = 'tag' and $get_attributes) If ($priority = 'tag' and $get_attributes and $attributes_data)

powermta configuration guide

If (isset ($current) and is_array($current))

powermta configuration guide

$last_item_index = $repeated_tag_index - 1 If (!is_array($current) or (!in_array($tag, array_keys($current)))) $result = $val //Set all the attributes in a array called 'attr'









Powermta configuration guide