Felipe Ferreira

March 18th, 2010 Leave a comment Go to comments
Felipe Ferreira5.052

eu

I am a Brazilian Senior System/Network Administrator, with over 10 years of experience.
I have worked from small size company’s to enterprise size Internet Service Providers. I have managed Exchange Clusters of 7 million users and also of 100 users. I have worked in the USA,Spain and Italy.The part I really like about my job, is to learn new things each day, to make things works the way they should, to automate tasks. Nowadays I have been focused more on Monitoring and on Linux (Debian).
I really enjoy working with Nagios/Centreon, I have configured over 8 servers witch I have built and customized. I monitor quite a few servers and services. What I really enjoy about Nagios because its open source, its so flexible and the great community support, I am happy to share my knowledge with the few interested people that visit my site.

I finished my MCSE 2003, I am also a CCNA. But my next certification will be Linux LPI.
I am available for freelancing jobs related to system administration, scripting etc…
In this site I will be putting my favorites Scripts, HowTo’s. I will try to keep it update.

VN:F [1.7.5_995]
Rating: 5.0/5 (2 votes cast)
  1. Matt
    November 26th, 2008 at 18:52 | #1

    Hi Felipe,
    I’m hoping to use your ‘Mailbox Size’ script to create a report of mailbox sizes for a list of users. Unfortunately I’m having some problems getting the script to run and have a couple of questions:

    1. I’m guessing I need to modify the following line to make it work in my environment, the question is, what actually is this path? Is it the root OU where the users are located?
    Dim strOU : strOU = “OU=EX-IN-IN,OU=SERVIDOR_INTBRSSCC07,OU=INT_USR”

    2. Regarding the input file, should this contain a list of email addresses of the users I wish to report on, or should it contain a list of UPNs?

    thanks so much for your help with this, I really appreciate it!

    Best regards,
    Matt

  2. xoroz
    November 26th, 2008 at 19:24 | #2

    Hi Matt,
    yes you need to edit all these lines:
    ‘@@@@@@@@@@EDIT, MUST CREATE FOLDER \LOG
    Dim strOU : strOU = “OU=EX,OU=SERVIDOR_XXX,OU=COR”
    outputfile = strScriptPath & “MBXGUID_OK.txt”
    inputfile = strScriptPath & “emailst.txt ‘ Mail like username@domain.local

    It is important to have created the folder log!
    To get the correct OU name, use adsiedit.msc it will show exactly the path.
    Let me know if you still having problems, also what error msg u get.
    cheers,
    Felipe

  3. December 10th, 2008 at 20:39 | #3

    Matt,
    am looking for a script to simply forward the mails of outlook to an external webmail, as and when the mail arrives in microsoft outlook.

    Can you please help me.
    Thx
    Aravind

  4. xoroz
    December 11th, 2008 at 10:52 | #4

    @arvind
    Hi Aravind, I wrote a script that does that you can try using/modifing it.
    Its here:
    http://felipeferreira.net/?p=46
    Let me know if it works for you.
    cheers,
    Felipe

  5. December 23rd, 2008 at 15:33 | #5

    I run a small IT company that specialises in Airport Systems. I am on the lookout for a very good Sys Admin on a freelance basis.

    Your tips are helping with an install of Nagios and I noticed the banner at the top of your page shows you have many skills.

    Could you send a brief CV listing your skills and the rates that you charge:

    * per hour
    * per day

    Thanks for your time.

  6. TheThug
    January 18th, 2009 at 01:53 | #6

    Hi Felipe,
    I was hoping you can help me out. After some long days searching for an answer to my project – I cam across your beautiful script. I would love to use this in my environment and noted the documentation was referring to a “logincheck.exe”. Would you be kind enough to e-mail me the actual file and source so I can use in my environment. Thx and if I can be of any assistance to you – please feel free to send me an e-mail as well… On behalf of all admins – Thank you for all your help and support.

  7. Tony
    February 8th, 2009 at 09:10 | #7

    Hello,
    I greatly appreciate the information you’ve provided. As of now though, I’m unable to use it. This will make you laugh, but how do I enter the scripts you mention remotely? I am trying to set up a simple photography site. The host doesn’t provide support, which would be fine except that its under an SSH attack heavily. The server is a VPS Centos 5 with plesk and virtuozzo. I would have to open a terminal, but not sure where to look for one. Thanks.

  8. Haim Chibotero
    June 3rd, 2009 at 16:56 | #8

    Hello Felipe
    I have seen on http://forum.centreon.com/showthread.php?t=7026&page=2 that you have a centeron appliance you can share
    can you be kind to share it with me ?

    thanks in advance,
    Haim

  9. xoroz
    June 15th, 2009 at 09:08 | #9

    Haim,
    At the moment I can not share mine, but I would recommend you to download an use FAN FUlly Automated Nagios, witch has about same tools as mine, its a CEntOS with Nagios 3.0.6 Centreon 2.0.2 NaReTo (Reporting tool) Nagvis and Docuwiki, check my post about it here

  10. Asif Ansari
    August 15th, 2009 at 14:50 | #10

    Hi Felipe

    I am new to WMI thing… just trying following code but no success. Please help me in identifying what is going wrong. My objective is to capture ping results from remote PC.

    In following code, IP address 10.1.12.84 is IP of my friend’s PC, who has added me in admin group of his PC, but still i am getting error. If I replace this IP with mine i.e. 10.1.12.89, things go very well.

    Please suggest how to get admin rights on my friends PC? Thank you for all your help.

    ‘ tests pingability from local machine to strComputer or, if strFrom is provided
    ‘ tests pingability between strFrom and strComputer
    ‘ strFrom, if provided, should be a Windows 2000 or later OS
    ‘ Note this is an example and therefore does not carry any error handling

    Public Function CanPing(strComputer As String, Optional strFrom As String = “.”) As Boolean
    Dim objWMIService As Object
    Dim objPing As Object
    Dim objStatus As Variant

    Set objWMIService = GetObject(“winmgmts:” & “{impersonationLevel=impersonate}!\\” & strFrom & “\root\cimv2″)
    Set objPing = objWMIService.ExecQuery(“Select * From Win32_PingStatus Where Address = ‘” & strComputer & “‘ and StatusCode=0″)

    For Each objStatus In objPing
    CanPing = objStatus.StatusCode = 0
    Next
    End Function

    Private Sub cmdPing_Click()

    If CanPing(“10.1.40.221″, “10.1.12.84″) Then
    MsgBox (“Success”)
    Else
    MsgBox (“Failure”)
    End If

    End Sub

  11. zen3
    September 28th, 2009 at 17:47 | #11

    Hello.
    Could you maybe explain me what this script does?

    http://www.xoroz.com/files/scripts/PERL/sshbrute.txt

  12. September 30th, 2009 at 21:05 | #12

    its a script that tries to connect to a SSH server and try to brute force its password… its a proof of concept (for study only).
    And the defense for this kind of attack is very simple and I wrote about it here

  13. zen3
    October 2nd, 2009 at 09:41 | #13

    Yeap, I used to use fail2ban, too.
    http://denyhosts.sourceforge.net/ is also markable.

  14. thiagomz
    January 15th, 2010 at 23:26 | #14

    Felipe,

    Gostaria de uma opniao sua. Seguinte, trabalho em uma consultoria e quero monitorar 1 ou 2 servidores que estao dentro da rede do cliente. Ou seja :

    Escritorio(centreon) –> FW –> INTERNET –> FW_CLIENT –> MaquinaA, MaquinaB

    Opcao 1

    Tenho duas ideias, usar o nrpe com ssl e o no FW_Client, o cliente me joga na maquinaA (5666) e pego outra porta para a MaquinaB (5777).

    Opcao 2

    Ter um centreon Master no escritorio e nos clientes usar um distribuited configuration.

    O que vc sugere ? Alguma outra ideia ?

    att

    Thiago

  15. January 21st, 2010 at 16:03 | #15

    Thiago, acho que se são somente dois servidores eu faria via internet mesmo.
    Ou com NRPE fazendo o lance das portas como vc dice ou via SNMP mas igualmente teria q fazer um nat.
    Eu ja fiz monitoração distribuida mas qnd são muitos servidores em um CPD remoto.
    sorte,
    Felipe

  16. April 17th, 2010 at 04:18 | #16

    Seems like that you have placed lots of effort and hard work into your post and I need a lot more of these on the net in recent times. I sincerely got a kick out of your post. I don’t truly have much to speak about in response, I only wished to comment to reply fantastic work.

  17. Bruno Padilha
    May 20th, 2010 at 09:39 | #17

    Felipe, estou com algumas dúvidas em relação ao monitoramento do exchange em cluster. Poderia me passar seu e-mail ou alguma outra forma de contato para que eu possa tirar algumas dúvidas? abraços!

  18. Borja Arranz
    May 21st, 2010 at 06:15 | #18

    Hola Felipe:

    Me presento, soy Borja Arranz y soy responsable de la monitorización en la empresa Osiatis (Madrid), ¿te suena la empresa? jejeje. Por supuesto que si, Antonio Pinho es la persona que me ha hecho llegar a tu página, y he comprobado que es verdad lo que me ha dicho, tienes una página muy educativa y se nota que sabes mucho sobre monitorización.

    Llevo en Osiatis tan solo desde hace 1 mes y medio, y ya he aprendido mucho, con Centreon no había trabajado nunca. Asi que ahora mismo estoy pegandome con Centreon, NDO y demas.

    Bueno, felicidades por la página y saludos desde Osiatis (Madrid).

    Borja Arranz

  19. May 21st, 2010 at 14:49 | #19

    Bruno, qual a duvida? Pode escrever aki

  20. Rafael
    June 18th, 2010 at 21:56 | #20

    Tenho uma ou + duvidas, instalei o FAN e queria monitorar um router/switch, e fiz adicionar host, escrevi o nome(2A_LAB), apelido(RBS) ,ip(192.2.0.1) e dei o comando check_snmp, quando faço export nagios tenho o seguinte erro (Error Host check command ‘check_snmp$192.2.0.1$ $1$’ specified for host ‘2A_LAB’ is not defined anywhere!)

    Tenho de fazer algum modelo?
    Que passos tenho de dar para fazer esta monitorização?

    Obrigado
    RS

  21. June 23rd, 2010 at 22:20 | #21

    vc precisa colocar exclamacao antes do parametro
    check_snmp!192.2.0.1 deveria funcionar
    testa outra vez

  1. No trackbacks yet.