I wrote yet another plugin for Nagios that allow the dynamic and automtization of ticket creation.The script is still under development but it does work, at least on my test with Unicenter Service Desk 11. ‘Auto create Tickets into Unicenter […]
Perl Open Relay Script
Need to check for open relay servers, here is the script I wrote in perl to auto check from a list of IPs or Hostnames. The hardest part was to grab the response from the server smtp->code() smtp-> message() STDOUT […]
Squid howto
This week I setup a cool Squid Proxy for our network at the office. What it does? Follow also the HowTo Setup SquidGuard 1. Caches the websites people visit, so it usess less bandwith and improve performance 2. Allow managers […]
Check Exchange Mailbox Size
Check_mboxsize.ws Another Nagios plugin. One of my hardest to write. Note that this will require the Nagios Plugin Service to run as a Administrator Account (local system account) will not work! Script example: …nagios/libexec# ./check_nrpe -H SERVER114 -t 90 -u […]
Change the Service Account
Well as I posted bellow about the bug in NRPE_NT, it result I will have to change all my Nagios Plugins service set to a different account, the code bellow is how I will be doing this. I used the […]
Redirect emails using alias script
Redirect emails using alias script # vim /etc/aliases command: |/bin/grep Subject >> /tmp/emailgrep.txt commandperl: |/bin/test.pl Pay attention on the permissions the email system will use the mail account, so set the permissions on the script test sending the emails # […]
Script to automatically get emails from pop3
Script to automaticly get emails from pop3 servers using getmail allows multiple downloads, auto search. Requirements: Perl, Perl Regexp::Trie and Net::POP3. Both can be easly installed via cpan interface or Download from here Create a special user account called downmx […]