<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://tech.snathan.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://tech.snathan.org/feed.php">
        <title>Senthil&#039;s Tech Wiki/Blog - tech</title>
        <description></description>
        <link>https://tech.snathan.org/</link>
        <image rdf:resource="https://tech.snathan.org/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-04-24T21:15:06+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/dellr630_debian?rev=1737376109&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/dokuwiki?rev=1427196555&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/generate_prime_factors?rev=1703939355&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/manully_encrypt_decrypt_files?rev=1619177272&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/nagios_plugin_apc_ups?rev=1624879650&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/nagios_plugin_deleted_open_files?rev=1446031680&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/nagios_plugin_fp?rev=1417092453&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/nagios_plugin_http_log?rev=1506770715&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/nagios?rev=1514291180&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/pptp_vpn_routing?rev=1479471905&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/sitemap?rev=1416076963&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/start?rev=1776511622&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/system_clock_losing_time?rev=1416064422&amp;do=diff"/>
                <rdf:li rdf:resource="https://tech.snathan.org/tech/wondercms?rev=1530530856&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://tech.snathan.org/_media/wiki/dokuwiki.svg">
        <title>Senthil's Tech Wiki/Blog</title>
        <link>https://tech.snathan.org/</link>
        <url>https://tech.snathan.org/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://tech.snathan.org/tech/dellr630_debian?rev=1737376109&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-01-20T12:28:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dellr630_debian</title>
        <link>https://tech.snathan.org/tech/dellr630_debian?rev=1737376109&amp;do=diff</link>
        <description>Installing Debian Bookworm on Dell PowerEdge R630

Debian is not a supported operating system on the Dell PowerEdge R630. However it is possible to install it successfully.

Before Install

Server settings before install

	*  Make sure the server has boot mode as UEFI instead of BIOS. This is typically the default. Press F2 to get into System Setup to review and confirm.</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/dokuwiki?rev=1427196555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-03-24T11:29:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>dokuwiki</title>
        <link>https://tech.snathan.org/tech/dokuwiki?rev=1427196555&amp;do=diff</link>
        <description>Scripts, tips, tools about Dokuwiki

Clean-up History

Script to clean up all revision history


DOKUWIKI_DATADIR=/path/to/docuwiki/data
#
find $DOKUWIKI_DATADIR/meta/ -type f -name &quot;*.changes&quot; -delete
find $DOKUWIKI_DATADIR/attic/ -type f -name &quot;*.txt.gz&quot; -delete
find $DOKUWIKI_DATADIR/media_attic/ -type f -name &quot;*.*&quot; -delete</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/generate_prime_factors?rev=1703939355&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-12-30T12:29:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>generate_prime_factors</title>
        <link>https://tech.snathan.org/tech/generate_prime_factors?rev=1703939355&amp;do=diff</link>
        <description>Generate Large Prime Factors

Simple Linux commands to generate large prime factors

	*  Generate prime Candidates
		*  
ssh-keygen -G candidates -b 2048

		*  Note:
			*  Use 1024 (or lesser) for faster and smaller prime number candidates generation, instead of 2048</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/manully_encrypt_decrypt_files?rev=1619177272&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-23T11:27:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>manully_encrypt_decrypt_files</title>
        <link>https://tech.snathan.org/tech/manully_encrypt_decrypt_files?rev=1619177272&amp;do=diff</link>
        <description>Using OpenSSH Manually encrypt and decrypt files


# Generating keys and encrypt/decrypt files using OpenSSL
PRIVATE_KEY=private1.pem
PUBLIC_KEY=public1.pem
PLAIN_TEXT=secrets.txt
ENCRY_TEXT=${PLAIN_TEXT}.enc
PLAIN_TEXT1=secrets1.txt
#
# Generate Private and Public Keys
openssl genrsa -out $PRIVATE_KEY 8192
openssl rsa -in $PRIVATE_KEY -outform PEM -pubout -out $PUBLIC_KEY
# Encrypt
openssl rsautl -encrypt -in $PLAIN_TEXT -out $ENCRY_TEXT -pubin -inkey $PUBLIC_KEY
# Decrypt
openssl rsautl -decry…</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/nagios_plugin_apc_ups?rev=1624879650&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-28T11:27:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nagios_plugin_apc_ups</title>
        <link>https://tech.snathan.org/tech/nagios_plugin_apc_ups?rev=1624879650&amp;do=diff</link>
        <description>Nagios Plugin for APC UPS Metric collection and alerting


#!/bin/bash
#
# Check USP Metrics for APC UPS
# Written by Senthil Nathan
# Last Modified: June 26th 2021
#
# Usage: ./check_ups_metrics -w Time Left Warn -c Time Left Critical
#
# Description: Check UPS Metrics and warn on remaining minutes
#
# Output:
#
#
#
#

PROGNAME=`/usr/bin/basename $0`
PROGPATH=`echo $0 | sed -e &#039;s,[\\/][^\\/][^\\/]*$,,&#039;`
REVISION=&quot;1.0&quot;

. $PROGPATH/utils.sh

check_root()
{
    # make sure script is running as ro…</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/nagios_plugin_deleted_open_files?rev=1446031680&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-10-28T11:28:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nagios_plugin_deleted_open_files</title>
        <link>https://tech.snathan.org/tech/nagios_plugin_deleted_open_files?rev=1446031680&amp;do=diff</link>
        <description>Nagios plugin to get total size of Deleted-Open files

Nagios plugin to uses the lsof command and counts all open file sizes which are deleted. Alert if size exceeds specified warning and critical limits.

E.g. to report warning if total size of deleted files exceed 5M and critical if it exceeds 10M</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/nagios_plugin_fp?rev=1417092453&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-27T12:47:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nagios_plugin_fp</title>
        <link>https://tech.snathan.org/tech/nagios_plugin_fp?rev=1417092453&amp;do=diff</link>
        <description>Nagios plugin for File Permissions

Nagios plugin to compare the file permissions of a file or directory against the actual permissions. For example use this plugin to check if /tmp in fact has the correct file mode of 1777, or if $HOME/.ssh has a mode of 600.</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/nagios_plugin_http_log?rev=1506770715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-30T11:25:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nagios_plugin_http_log</title>
        <link>https://tech.snathan.org/tech/nagios_plugin_http_log?rev=1506770715&amp;do=diff</link>
        <description>Nagios Plugin for scanning HTTP Log


#!/bin/bash
#
# Apache access log line count &amp; response times
# Written by Senthil Nathan
# Last Modified: June 1st 2017
#
# Usage: ./http_stat -f access_log_file -g search_pattern -w Count Warn -c Count Critical (there are more options!!!)
#
# Description: Count the number of lines in apache access log for the previous minute
#
# This plugin is to check the lines generated by the log in the previosu minute
# Assumes apache log time stamp of format &quot;%d/%b/%Y…</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/nagios?rev=1514291180&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-26T12:26:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>nagios</title>
        <link>https://tech.snathan.org/tech/nagios?rev=1514291180&amp;do=diff</link>
        <description>Nagios

Custom commands

Processes

Update /etc/nagios-plugins/config/procs.cfg to


# check count of given process is running
# ARG1 = # of processes
# ARG2 = Process Name
define command{
        command_name    check_procs_specific
        command_line    /usr/lib/nagios/plugins/check_procs -w &#039;$ARG1$&#039;:&#039;$ARG1$&#039; -c &#039;$ARG1$&#039;:1024 -C &#039;$ARG2$&#039;
        }</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/pptp_vpn_routing?rev=1479471905&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-11-18T12:25:05+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>pptp_vpn_routing</title>
        <link>https://tech.snathan.org/tech/pptp_vpn_routing?rev=1479471905&amp;do=diff</link>
        <description>PPTP VPN and Local LAN Routing

Typically when you VPN into a Network, all traffic including internet traffic gets routed to that VPN Network. This is of course unnecessary and mostly undesirable for reasons such as

	*  The connection becomes slow with the longer route.</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/sitemap?rev=1416076963&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-15T18:42:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sitemap</title>
        <link>https://tech.snathan.org/tech/sitemap?rev=1416076963&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/start?rev=1776511622&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-04-18T11:27:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://tech.snathan.org/tech/start?rev=1776511622&amp;do=diff</link>
        <description>Tech

Tech/apache

	*  apache_reverse_proxy
	*  apache_ssl_error
	*  apache_webserver_tuning
	*  enabling_mod_security
	*  log_parsing
	*  md_files
	*  redirect_to_https

Tech/codecharge

	*  advanced_security_settings
	*  application_builder
	*  creating_currently_logged_in_as_label
	*  default_user_id_to_logged_in_user
	*  filter_on_logged_in_user
	*  login
	*  main
	*  make_a_field_dynamically_readonly
	*  new_project
	*  project_settings
	*  removing_params_from_menu_builder_url
	*  setting_…</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/system_clock_losing_time?rev=1416064422&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-11-15T15:13:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>system_clock_losing_time</title>
        <link>https://tech.snathan.org/tech/system_clock_losing_time?rev=1416064422&amp;do=diff</link>
        <description>Notes on System Clock Losing Time

Some resources if your system is losing time

Resources

	*  [ubuntu] A solution to clock drift (clock too slow or fast) [Archive] - Ubuntu Forums
	*  adjtimex to adjust system clock
	*  [ubuntu] 9.10 system clock runs slow - Ubuntu Forums</description>
    </item>
    <item rdf:about="https://tech.snathan.org/tech/wondercms?rev=1530530856&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-07-02T11:27:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>wondercms</title>
        <link>https://tech.snathan.org/tech/wondercms?rev=1530530856&amp;do=diff</link>
        <description>WonderCMS Notes

Install steps

	*  Download &amp; Unzip
	*  Copy .htaccess into the apache configuration (remove Options -Indexes &amp; ServerSignature Off)
	*  Go to Settings -&gt; Security
		*  Change loginURL to something else (e.g. sslogin) Make note of the change!</description>
    </item>
</rdf:RDF>
