Jeroen Gouma

Members
  • Content Count

    18
  • Joined

  • Last visited

  • Days Won

    3

Community Reputation

6 Neutral

About Jeroen Gouma

  • Rank
    Observer
  • Birthday January 19

Recent Profile Visitors

670 profile views
  1. Thanks a lot for the swift reply. I noticed the multi-instance box, but indeed it was greyd-out. I will try this appoach and create a new version of the datasource, making it multi instance and see how I can query something that indicates the various instances. Beside that i will have to look into the BatchScript. We are indeed a MSP and the script will definitly run on one of our own collectors, providing the results only on the specific customer dashboards.
  2. Hi, I created a datasource which runs a script with a bunch of parameters to retreive acual cloud usage& costs for our customers. Currently this script is running on the collector in the customers environment and working fine. But I would like to centralize these data collections 1 single place. I would like to have multiple instances from my script running on 1 system,. Based on the name of the instance I can retreive all the parameters from a parameter file. How can I make multiple instances of my script? Thanks a lot! Jeroen
  3. It would be very welcome (read as: required) that we can mark days as a bank-holiday. During these days we normally have no staff on site and alerting should be done in a different way as on normal working days. Last week we had a production incident which was not routed correctly due to the fact nobody was in the office on Public holiday. My ideal situation would be something like this: 1. Be able to create a custom list of dates (just a single list) on which monitoring should act on in a different way. 2. On the alert rule "time based chain" add an extra "day" besides Mon-Sun (i.e. called special) 3. if an alert arises it should first check if the now() moment is in the special list. It true, act on that. If not continue normal processing. Thanks a lot! Jeroen
  4. A way to solve this might be creating a datasource which runs every x minutes, depending on your needs. This datasource executes a perl script somehow similar to the one below. The example script we use to get the number of open alerts, and trigger an alert if the number reaches a specific threshold. It will need some modification... The script executes an rpc call to LM getting the results on which you want to trigger the execution. If the monitored value is above the threshold some action is taken. Based on the output of the script you could even set an alert on the fact that the script is executed. It's not directly bound to a datasource, but could work. #!/usr/bin/env perl # Replace parameters below to suit your situation $userName="myUsername"; $password="mySecret"; $sitename="mySite"; $siteurl="mySite.logicmonitor.com"; $groupId="1"; $curlopt="'https://$siteurl/santaba/rpc/getAlerts?c=$sitename&u=$userName&p=$password&hostGroupId=$groupId'"; $curlrun="env curl -s $curlopt"; # Now we have the command to run $alertwarn=0; $alerterr=0; $alertcrit=0; open(FILE, "-|", $curlrun) or die $!; while (<FILE>) { $alertwarn++ if /warn/; $alerterr++ if /error/; $alertcrit++ if /critical/; } close $handle; $alerttotal=$alertwarn+$alerterr+$alertcrit; if ($alerttotal > 30) { # execute any required action # execution more action $scriptresult=1; } else { $scriptresult=0; } print "ScriptResult" . $scriptresult . "\n";
  5. Currently we have a customer who has the a requirement which I hope can be fulfilled from within LogicMonitor. We have 3 single datasources which are completely independent of each other (CPU usage, memory distribution in the database and number of messages in a queue). I can collect these three datasources and put a threshold on, but the requirement is that only on a specific combination of these thresholds an alert needs to be triggerd. Example: IF CPU > 80% and Memory usage in the database > 70% and a certain queue contains > 1000 messages then an alert needs to be triggerd. If one of the requirements is not met, there is no reason for an alert. Thanks for any hint into the right direction.
  6. Just in case someone else runs into the same: The key thing here is that the user needs manage rights on his collector(s) and device group(s). Antohter thing is that he has te select the group where the new device has to be added to. Otherwise the default (root) group is used, and there the user does noet have any permissions... Thanks to David from LM support who helped me out! Jeroen
  7. Hi, I would like to allow a customer to add his own new devices without asking our support team to do this for him. Customer account has full control on his devicegroup and also rights to manage his own collector. However, if I try to add a device using the "Add device (wizard)"option we get the following message: "No permission to add device.". But if we use the "Add device (expert)" option we are able to ad an device, but for opbvious reasons I prefer them to use the wizard for this . How is controlled if the user is allowed to use the wizard? Which rights should a user be granted to get this working? Thanks a lot, Jeroen
  8. Hi Johan, this is not available out of the box, but can pretty easy been done by writing the correct query and putting this in a datasource. What brand of database are we talking about? Regards, Jeroen
  9. Hi Annie, this is good news... From my point of view: It would be nice to create dependencies between targets across servers of other objects like routers, switches etc. Example: An application is running on server A where it's database is on server B. If we have a critical (or fatal) alert on the database, i would like to see that this will also impact the application object. Same thing when there is a critical alert on a server, this is most likely to impact anything that is running on this server. Or, if I take it to a network level: If a router is going down, it will for sure impact all servers connected to this router (which will impact anything on these servers or depending on these) In case this happens I would expect a target to get in a specified state (i.e. "related warning" or "related error"). Sending out alerts (for the childs) on this would not always be required as long as the original alert (i.e. networkswitch went down) is cleary indicating the impact based on the child relations. Or just an alert which refers to the original issue. Kind regards, Jeroen
  10. Hi, I started trying to build a custom report based on word-template. Still some struggle, but getting forward in small steps. In the report settings I can define a fixed timeframe (like last month). I would like to translate this setting into something I can put in the report to indicate on which timeframe the report is based. Example: Availability overview from 2015-05-01 until 2015-05-31 Is this possible at all, our should this become a feature request? Thanks, Jeroen
  11. Hi Michael, thanks for the reply. I was not able to import the XML file, but managed to recreate what you did :-). Works like a charm, thanks! Jeroen