Joeldg wrote:Are you using the newer version of the templates? I updated them on Friday before I left for the day to match the graphs you see.Yes, I am using the newer version. Any idea why?Ĭonnections.JPG (43 KiB) Viewed 13287 times resolver.JPG (42.88 KiB) Viewed 13287 times traffic.JPG (42.66 KiB) Viewed 13287 times queue smtp.JPG (43.89 KiB) Viewed 13287 times InitPct:100 dirs:6 files_inUse:2511 files_recycled:0 files_total:24576īut the graphs do not render properly (see the attached images). SmtpIn_cur:0 smtpIn_max:100 smtpIn_top:7 smtpOut_cur:60 smtpOut_max:1200 smtpOut_top:1200 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 If ($priority = 'tag' and $get_attributes) If ($priority = 'tag' and $get_attributes and $attributes_data) If (isset ($current) and is_array($current)) If ($priority = 'tag' and $attributes_data) $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'