Nagio/NRPE_NT VBS Script to check the size of file(s) inside a Folder. IMPORTANT, From nagios you Must pass double slashes Usage: check_filesize -p “path” -f “file(s)” -w -c Example1(script localy using cscript ): check_filesize -p “E:mdbdata” -f priv1.edb,priv1.stm,pub1.edb,pub1.stm -w 5000 […]
Backup nagios
. . Nagios/Linux easy backup method No backup tapes, no FTP. Just simple, mount a remote share and put files there. The important part is to mount the share when the system starts up, so we will could also edit […]
Exchange Top Senders Nagios Plugin
Well I just went back to this old script, I rewrote so it will now work with Nagios. The output is simple and just reports total Top emailers, the script also requires/takes 3 arguments topemailers.vbs 3 5000 10000 would report […]
snmpd.conf
Troubleshooting snmpd.conf SNMP binds only to 127.0.0.1 (localhost) After going in the configurations inside snmpd.conf I tried: – using snmpconf (script based config). # snmpconf – editing snmpd.conf and changing the source field #vim /etc/snmp/snmpd.conf ” # sec.name source community […]
Webinject How to
When monitoring websites many times we will need more then just check if the site is up. We may need to see if the internals of the website is working, a good example is making a user login check. Using […]
Nagios script to load host
. . . When you have to load 400 IPs into Nagios/Centreon configuration, how do you do it? By hand? Well, I wrote a script that pulls all hosts from a CVS file with the fields (HOSTNAME,INFO,IP) and generates de […]
Secure SSH with Fail2Ban
Remote managing a server is important but I believe securing it is just as important. Would you like to type “last” and just relize someone has just login into your server from a far country? Well the solution is here! […]
