integration of smsgateway with OpManager
Now, I am trying to integrate OpManger with sms gateway using gammu in term of alarm notification. But I am still confused how to integrate gammu with OpManager, how to integrate/send the alarm message using gammu? I need help to deal with it, please help. thank you.
Shell script for monitoring file existence in Linux
Attached is a simple shell script file for monitoring the existence of a file in linux. Download the XML file and go to Admin --> Script templates and import the XML file. While saving it, provide the file name as the name of the template. On the command line, provide the file name along with the full path of the file you want to monitor as an argument. For ex. sh ${FileName}.sh /root/opm_be.txt where /root/opm_be.txt is the file name along with the path and save it. If the file exists, the value
Monitor iNodes on Linux servers
Here is the script template for monitoring iNodes on Linux servers. Pravin
Need to monitor Ubiquiti Unifi wifi access points via shell script - AP runs linux and busybox (ash shell)
What we are after is the status of the ath1 or wifi0 interface which can be got via ifconfig on the device. OpManager is running on windows. Not sure where to start but it sounds like we want to run the ifconfig on the device and parse the output for "up" appearing close to/within one line of "ath0" An idea of how to do this will give me clues to look at other stats from the device eg with the athstats command which gives detailed packet stats for the wifi interface. Output of ifconfig below
Issue Using Perl for Windows and Custom Script Templates
I have an issue where I have OpManager installed on a Windows 2003 server and am trying to use Perl to write a custom script template. The issue I have is that whenever I try to use a "foreach" loop, the script just hangs and eventually times out. The script runs fine when ran manually. It only fails when ran through OpManager. Has anyone else seen this issue? If so, did you get it resolved? Thanks!
Custom Perl script to monitor multiple server's CPU's in a single graph
Hi all. Attached is a simple Perl script I put together to track total CPU usage across multiple different servers and show these values in a single graph. The servers in question are added in the array "@servers", and each of these values is then passed to the function "getSnmpValues", which returns the average total CPU usage across all server cores. I've attached a jpg of the final result in my environment. To get this working, you must set the path to the Perl binary (In my case, "C:\Perl\bin\perl.exe"),
Opmanager eventlog threshold
we have an issue where some pc's (already deployed) the security log will fill up. is there a way to set a threshold on this so that when it hits like 95% we can identify the pc , and take corrective actions thanks mike
Custom Script monitors in OpManager - Some examples, documentation needed
Hi all. I've been playing around with trying to port some Perl, bash scripts etc. from an old Nagios instance (Which by the way, seems to support custom scripting a heck of a lot better than OpManager from what I can see!) with the intention of decommissioning nagios eventually. So far however, I haven't gotten very far at all, as each time I try a custom script (Perl, PowerShell etc.) I seem to always get some obscure error of one kind or the other. Can you please provide some actual working examples