Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Monday, April 23, 2018

Configure SNMP in Windows Machine

Configure Windows Machine as SNMP device follow mentioned steps.

1. Enable SNMP service from “Turn Windows features on or off

























2. Select SNMP Service and Click on “Ok

3. Now it will request to restart the system, restart the system to apply changes.

4. Now open Services and navigate to SNMP Service Properties.

Verify details as mentioned below (Image is for reference only, you need to set your details)

























5. Now after setting above details restart SNMP service.

6. Now you can verify the connectivity between source machine from where you wants to get the data from SNMP, and windows machine from minder CLI by snmpwalk.


Add NTP server entry in Windows machine from Command prompt

Open Command Prompt (Run As Administrator), and execute below mentioned command.

> net stop w32time
> w32tm /config /syncfromflags:manual /manualpeerlist:"0.in.pool.ntp.org, 1.asia.pool.ntp.org, 0.asia.pool.ntp.org"
> w32tm /config /reliable:yes
> net start w32time



Tuesday, October 17, 2017

Send email using TELNET and Sendmail protocols

Send Email Using Telnet 

Note : We use the domain mailserver.co.in as an example. Be sure to replace with your own domain.
  • Open your command prompt.
  • Now, connect with telnet using the following command:
telnet mailserver.co.in 25

  • Type ehlo example.com. Some servers also accept helo in place of ehlo.

ehlo 
mailserver.co.in


  • Type mail from: sender@mailserver.co.in:


mail from: sender@mailserver.co.in


  • Type rcpt to: receiver@anydomain.com (replace with your actual recipient name):


rcpt to: 
receiver@anydomain.com


  • To write the message - type data, followed by your subject and message. To end the message, put a period on a line by itself and press enter:


data
Subject: My Telnet Test Email
Hello,
This is an email sent by Minder server using the telnet command.
Your friend,
Me
.


Type quit to 
exit telnet.


Now you should receive Test email sender@mailserver.co.in to receiver@anydomain.com