Archive

Archive for the ‘plugins’ Category

Nagios Plugin Collection

September 3rd, 2010 No comments

The Nagios Plugin Collection is a set of scripts for the Nagios monitoring project to check the status off various system components.

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

Nagios check_con

August 11th, 2010 No comments

I wrote a simple plugin to check the number of established connections
to a windows server. Just execute:
cmd /c netstat -an |find /i “estab” /c

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

Monitor Varnish with Nagios

August 5th, 2010 No comments

Varnish is an amazing reverse proxy product and it does its
job very well, but how can we know that? Or even better
how can we know it detected problems in the backed?

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

monitor microsoft cluster

July 26th, 2010 No comments

To find out if your Microsoft cluster did a failover is a boring task to go in the eventviewer or logs. Well I wrote a script that does just that
all it needs is check_nt NC_NET plugin on the server and nagios.
I tested with Windows Server 2008 and 2003 and NC_NET 4.x
Hope its helpfull for everyone.

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

Monitor FTP erros with nagios

June 25th, 2010 No comments

So How can we know the FTP server is saving all files as it should.
Well I found a way to go directly in the IIS-ftp log files and get the results from there.
They key tool here was logparser, Its very usefull to monitor, if the server is getting error responses or is being attacked by hackers the thresholds should go off.

Read more…

VN:F [1.7.5_995]
Rating: 5.0/5 (1 vote cast)

Monitor IIS erros with nagios

May 21st, 2010 No comments

So How can we know the IIS server is responding to all petitions?
Well I found a way to go directly in the IIS log files and get the results from there. They key was logparser
Its very usefull to monitor, if the site is acting wierd or is being attacked by hackers the thresholds should go off.

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

monitor esx with nagios

May 6th, 2010 No comments

Its a system administrator duty to be sure the ESX servers health and performance are OK.
I monitor:

Read more…

VN:F [1.7.5_995]
Rating: 0.0/5 (0 votes cast)

nagios report

March 28th, 2010 2 comments

I have a custom script to generate monthly reports about Hosts and Services.

The syntax is pretty simple: Read more…

VN:F [1.7.5_995]
Rating: 3.0/5 (2 votes cast)

NC_NET execute a vbs script

March 22nd, 2010 No comments

How to configure NC_NET execute a vbs script

I was used to the simplicity of NRPE_NT, where
things are much easier and straight forward.
I am now tring NC_NET wich for startes requires Framework 2.0 and a server reboot to be installed.
Also the configuration file is HUGE, there are way more possiblities including passive checks witch I dont use.
Its for sure a more powerfull tool but wish it was easier to use.
For example I spen 2hrs to find out how to execute a vbs script I created.
Here is how to do it:
1.Copy script to C:\PROGRA~1\Montitech\NC_Net\script\ also copy cscript (otherwise wont work!)
2. Edit lines on NC_NET config file startup.cfg
do_not_blaim_nc_net    true
allow_run_scripts    true
For troubleshooting:
testrun    true
3. Restart the service
4. You can verify on eventviewr if ur changes where OK.
5. Call the vbs from nagios
The hard part was to find out how to call the vbs!
for help
./check_nt –help=RUNSCRIPT
To Run
./check_nt -H <HOST> -v RUNSCRIPT  -l “cscript.exe //nologo C:\PROGRA~1\Montitech\NC_Net\script\SCRIPT.vbs -p E:\Logs -e felipe.ferreira@eueue.com”

VN:F [1.7.5_995]
Rating: 4.0/5 (1 vote cast)

Como usar check_by_ssh

December 21st, 2009 No comments

Nagios, Como monitorar utilizando check_by_ssh
(my first Post in portugues)
reference to here
And my English original post here
1. Na maquina remota criamos o usuario nagios
/usr/sbin/useradd -m nagios

Read more…

VN:F [1.7.5_995]
Rating: 2.0/5 (1 vote cast)