Integrating Oracle Ops Center Alert Notifications With Nagios

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Contents 1 This document address how to disable nagios notification’s with Ops Center 1.1 Nagios notification overview 1.2 Nagios notifications 1.2.1 Methods to disable Nagios notifications remotely 1.2.2 Center and Nagios 1.2.2.1 Ops Center configuration 1.3 Scripts used to disable/enable Nagios 1.4 Example to enable/disable nagios with curl This document address how to disable nagios […]

Read More

Testing DNS performance – perl script

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Use the perl script below to check your DNS performance. Make sure to replace the search string and your DNS provider IP address. #!/usr/bin/perl @ns = @ARGV; push(@ns,’8.8.8.8′, ‘4.2.2.1’) unless @ns; $domain = “www.devtech101.com”; use Net::DNS; use Time::HiRes; # high resolution timing required use Time::Stopwatch; use Number::Format qw(:subs); use Statistics::Descriptive; tie my $time, ‘Time::Stopwatch’; # […]

Read More

Modifying Solaris Zone Properties With a Loop.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Modifying Solaris Zone Properties With a Loop. To modify many Solaris Zone Properties, you can run a loop something like the below. Example 1 for i in `zoneadm list -cv |grep wapp1|awk ‘{print $2}’`;do ipaddr=`zonecfg -z $i info anet |grep “allowed-address: 10″|awk ‘{print $2}’|sed ‘s,10.20.19,10.20.41,’`; zonecfg -z $i “add anet;set lower-link=webpriv0;set allowed-address=$ipaddr;end;commit” ;done Example 2 […]

Read More