ContributionsMost RecentMost LikesSolutionsCisco c300v Cloud Email Security Appliance Isthere anyone know how I can monitor this appliance in LM. Show following informationin LM for monitoring <features> <feature name="McAfee" time_remaining="102892200" /> <feature name="External Threat Feeds" time_remaining="102892200" /> <feature name="Sophos" time_remaining="102892200" /> <feature name="File Analysis" time_remaining="102892200" /> <feature name="Bounce Verification" time_remaining="2712117032" /> <feature name="Cloud Administration" time_remaining="2712117032" /> <feature name="IronPort Anti-Spam" time_remaining="102892200" /> <feature name="IronPort Email Encryption" time_remaining="102892200" /> <feature name="Data Loss Prevention" time_remaining="102892200" /> <feature name="Intelligent Multi-Scan" time_remaining="102892200" /> <feature name="File Reputation" time_remaining="102892200" /> <feature name="Incoming Mail Handling" time_remaining="2712287735" /> <feature name="Graymail Safe Unsubscription" time_remaining="102892200" /> <feature name="Outbreak Filters" time_remaining="102892200" /> </features> <counters> <counter name="inj_msgs" reset="734118" uptime="734118" lifetime="734118" /> <counter name="inj_recips" reset="734965" uptime="734965" lifetime="734965" /> <counter name="gen_bounce_recips" reset="298748" uptime="298748" lifetime="298748" /> <counter name="rejected_recips" reset="5087" uptime="5055" lifetime="5087" /> <counter name="dropped_msgs" reset="48" uptime="48" lifetime="48" /> <counter name="soft_bounced_evts" reset="143030" uptime="143030" lifetime="143030" /> <counter name="completed_recips" reset="734896" uptime="734896" lifetime="734896" /> <counter name="hard_bounced_recips" reset="495144" uptime="495144" lifetime="495144" /> <counter name="dns_hard_bounced_recips" reset="6" uptime="6" lifetime="6" /> <counter name="5xx_hard_bounced_recips" reset="495118" uptime="495118" lifetime="495118" /> <counter name="filter_hard_bounced_recips" reset="0" uptime="0" lifetime="0" /> <counter name="expired_hard_bounced_recips" reset="20" uptime="20" lifetime="20" /> <counter name="other_hard_bounced_recips" reset="0" uptime="0" lifetime="0" /> <counter name="delivered_recips" reset="239751" uptime="239751" lifetime="239751" /> <counter name="deleted_recips" reset="1" uptime="1" lifetime="1" /> <counter name="global_unsub_hits" reset="0" uptime="0" lifetime="0" /> </counters> <current_ids message_id="734968" injection_conn_id="442587" delivery_conn_id="73052" /> <rates> <rate name="inj_msgs" last_1_min="0" last_5_min="0" last_15_min="4" /> <rate name="inj_recips" last_1_min="0" last_5_min="0" last_15_min="4" /> <rate name="soft_bounced_evts" last_1_min="0" last_5_min="0" last_15_min="0" /> <rate name="completed_recips" last_1_min="0" last_5_min="0" last_15_min="4" /> <rate name="hard_bounced_recips" last_1_min="0" last_5_min="0" last_15_min="0" /> <rate name="delivered_recips" last_1_min="0" last_5_min="0" last_15_min="4" /> </rates> <gauges> <gauge name="ram_utilization" current="2" /> <gauge name="total_utilization" current="28" /> <gauge name="cpu_utilization" current="9" /> <gauge name="av_utilization" current="0" /> <gauge name="case_utilization" current="11" /> <gauge name="bm_utilization" current="0" /> <gauge name="disk_utilization" current="0" /> <gauge name="resource_conservation" current="0" /> <gauge name="log_used" current="4" /> <gauge name="log_available" current="352G" /> <gauge name="conn_in" current="2" /> <gauge name="conn_out" current="0" /> <gauge name="active_recips" current="23" /> <gauge name="unattempted_recips" current="23" /> <gauge name="attempted_recips" current="0" /> <gauge name="msgs_in_work_queue" current="0" /> <gauge name="dests_in_memory" current="11" /> <gauge name="kbytes_used" current="205" /> <gauge name="kbytes_free" current="71302963" /> <gauge name="msgs_in_policy_virus_outbreak_quarantine" current="0" /> <gauge name="kbytes_in_policy_virus_outbreak_quarantine" current="0" /> <gauge name="reporting_utilization" current="6" /> <gauge name="quarantine_utilization" current="0" /> </gauges> Update resource's custom property with a csv file Hi All I have written a script which would take csv file with columnand update the device custom property's value. This script works like displayname=~ but If you provide full display name, please change the line 39 toqueryParameters = '?fields=id&filter=displayName:'+devicename+'&size=300' CSV file have to have heads and the first column is resource name, the second column is property name and the third column have to have value. #!/bin/ehave value mport pandas as pd import requests import json import hashlib import base64 import time import hmac import csv #Account Info AccessId ='XXX' AccessKey ='YYY' Company = 'abc' filename = raw_input("Enter a CSV name with extention: ") # open the file to read number of rowa. file = open(filename) row = len(file.readlines()) df=pd.read_csv (filename) for r in range (0, row-1): devicename=df.iloc[r,0] print(devicename) #Request Info httpVerb ='GET' resourcePath = '/device/devices' queryParameters = '?fields=id&filter=displayName~'+devicename+'&size=300' data = '' #Construct URL url = 'https://'+ Company +'.logicmonitor.com/santaba/rest' + resourcePath + queryParameters #Get current time in milliseconds epoch = str(int(time.time() * 1000)) #Concatenate Request details requestVars = httpVerb + epoch + data + resourcePath #Construct signature signature = base64.b64encode(hmac.new(AccessKey,msg=requestVars,digestmod=hashlib.sha256).hexdigest()) #Construct headers auth = 'LMv1 ' + AccessId + ':' + signature + ':' + epoch headers = {'Content-Type':'application/json','Authorization':auth} #Make request response = requests.get(url, data=data, headers=headers) #Parse response jsonResponse = json.loads(response.content) #print 'Response Body:',jsonResponse for i in jsonResponse['data']['items']: #print str(i['id']) deviceId = str(i['id']) j=len(deviceId)-3 ##print ('j',j) for i in range (0, j): #Request Info httpVerb ='PUT' proertyname=df.iloc[r,1] resourcePath = '/device/devices/'+deviceId+'/properties/'+proertyname queryParams ='' propertyvalue= df.iloc[r,2] data = '{"value":"'+propertyvalue+'"}' #Construct URL url = 'https://'+ Company +'.logicmonitor.com/santaba/rest' + resourcePath + queryParams #Get current time in milliseconds epoch = str(int(time.time() * 1000)) #Concatenate Request details requestVars = httpVerb + epoch + data + resourcePath #Construct signature signature = base64.b64encode(hmac.new(AccessKey,msg=requestVars,digestmod=hashlib.sha256).hexdigest()) #Construct headers auth = 'LMv1 ' + AccessId + ':' + signature + ':' + epoch headers = {'Content-Type':'application/json','Authorization':auth} #Make request response = requests.put(url, data=data, headers=headers) #print ('Response Status:',response.status_code) print ('Response Body:', str(response.content)) Folder quota management (Windows) Hi All I have set quotas for several folders on windows 2016 server. I want to monitor these on LogicMonitor. Could you please assist. FYI, please check the attachment for more details. Regards Tanvir Re: Add the tags from VMs and add to the device as a custom property Thanks, Mike vCentre has a custom propertyesx.tags=true. Also esx.user have read permission to get tags. I am running VMware ESXi 6.5. Basedon the documenthttps://www.logicmonitor.com/support/monitoring/os-virtualization/esx-servers-vsphere/#tagin LM, it should work. I can run a PowerShell script but I do not want to unless I have to. Any Idea? Regards Tanvir Add the tags from VMs and add to the device as a custom property Hi All I am running a PowerShell script in a vCentre which tags the VMs based on the parent folder. I want to run a PowerShell a script in LM portal to add those values as a custom property to the devices. Anyone have any idea. Regards Tanvir Device Group membership LogicMontior should have something to use in a custom query for memberOf() or !memberOf() Also, should have an option for: if I add a property in a group level, that property can be added to the device directly. NetApp dashboard Hi all Does anyone have a dashboard for NETAPP and like to share the config (jsaon)? I would be really grateful for that. Regards Tanvir Re: Cluster Service on Windows Server (WFSC) I Resolved this. Because Service accountis not a member of domain admin I had assign RO cluster permission to the service account Grant-ClusterAccess - User dvc_acc -ReadOnly LogicMonitor and multihomed hosts (multiple IP addresses) Hello team, We have hosts with multiple network interfaces, often on the same network but sometimes on different networks. For example, the Linux server Server1has the IP addresses 130.195.222.222, 130.195.222.223, and 130.95.163.222, with the WebLogic application server listening on the HTTP and HTTPS ports on all three IP addresses but serving up different web sites with different SSL certificates depending upon which you connect to (which is determined by which FQDN you enter into your browser). Connecting a device in LogicMonitor, allows to add only one IP. Does anyone know if LogicMonitor allow us to encapsulate all of this together for a single device? Regards Tanvir Re: Cluster Service on Windows Server (WFSC) Thanks Kerry I did not but it did not work. Also, to monitor nodes, I cannot even see the following items (as shown in the picture). I think this is a permission issue because service account with domain admin privilege works fine.
Top ContributionsCisco c300v Cloud Email Security ApplianceUpdate resource's custom property with a csv fileFolder quota management (Windows)Re: Add the tags from VMs and add to the device as a custom propertyAdd the tags from VMs and add to the device as a custom propertyDevice Group membershipNetApp dashboardLogicMonitor and multihomed hosts (multiple IP addresses)Re: Cluster Service on Windows Server (WFSC)Re: Cluster Service on Windows Server (WFSC)