The most recent content from our members.
Simple bash check was created: result=$(/bin/ldapsearch -H ldaps://ldapserver.local -b "dc=domain, dc=local" "(&(objectClass=group)(cn=IT.Group))" -x -D "CN=ldap-svc-account,OU=Service accounts,OU=Accounts,DC=dmz,DC=domain,DC=local" -w 'pA$$w0rd' | grep "member:" -c) echo "Statistic: $result" I'm using -w flag to provide a…
Overview Since I enjoy scripting, I figured that I'd gather all of my thoughts around what is required when creating a custom script component and place it here. Hopefully it'll help as you build your own. There are two main things that the SAM script component monitor is looking for: 1. The Exit Code. Ok, I'll be honest.…
Hey everyone! Before I opened a support ticket, I wanted to see if the community had observed anything like I'm seeing now with the application monitors. Base state: We have an application monitor that is watching an app running in a docker container. As part of that, I found a bash script on here that monitors the "docker…
Hi I haven't used this test before and what i am trying to attempt is to SSH into an appliance with predefined menu options that doesn't accept script commands from perl, sh, bash, etc... that I can tell. I am trying to run a command and see the output returned to know if the appliance is up and operational. I was…
This is the script I use for two application component monitors - NFS Check (makes sure all NFS mounts are mounted), and Inode Check (alerts if over 85% inode usage) but can be customized for many different things. I have an application monitor and an alert that will go off if there is an issue (solarwinds SNMP check only…
Hi All, I hope someone can help on an issue related to the component Linux/Unix Script Monitor and in general with components that allow to add some custom code for a check, like Nagios script monitor and Windows script monitor. Let's say I have developed a general script, called check_folders for example, and that it's…
Good Evening Everyone, I'm trying to figure out how to run a BASH script if a WPM transaction monitor is in a down state for 20 minutes. I am most of the way there. Built an alert, narrowed it down to the specific transaction monitor, told it to escalate after 20 minutes. Now I'm having a difficult time figuring out how to…
I needed the ability to properly monitor XenServers through SNMP. Many of you may have noticed that SNMP data from a XenServer is not exactly accurate... I have created some custom agents that are passed from net-snmp to collect the proper server data as opposed to the host domain's data in regards to CPU usage and RAM…
It looks like you're new here. Sign in or register to get started.