Tuesday, September 5, 2017

Nagios Active Checks (check_ncpa.py)

Copy check_ncpa.py  to /usr/local/nagios/libexec (plugin directory)
Change mode and check version

Define new check_ncpa command by adding following lines to /usr/local/nagios/etc/objects/commands.cfg

Friday, August 25, 2017

Installing Nagios NCPA on Windows Server 2008 R2



If you want to install NCPA Nagios agent on Windows Server 2008 R2 you need to choose TLSv1 in Advanced Listener Configuration



You can also enter Token, which will be used to connect to Web GUI  




Tuesday, August 15, 2017

Tuesday, August 1, 2017

PyCharm


  Ctrl + Alt + S
 Settings
 Shift + Alt + E ... Alt + E (customized)  
  Execute Selection in Console





















Check object type
squares = [1, 4, 9, 16, 25]

squares.__class__
<class 'list'>

type(squares)
<class 'list'>
Add packages... Ctrl + Alt + S (Settings) ... Project Interpreter ... 




Wednesday, July 26, 2017

OPNSense SMTP NAT Port Forward

One of the options to allow SMTP trafic to internal email server is to to set NAT Port Forward

Tuesday, July 25, 2017

RequireTLS

Set RequireTLS on Exchange Server default receive connector (port 25)


Test SMTP connection using https://testconnectivity.microsoft.com