Tweets from pichat

pichatTrying to make a multi-language WiX/MSI installer (single file). It's 2010 and Windows still can't offer a decent package manager? #fail
About 11 hours, 32 mins ago from pichat (Mark Seuffert)

Tweets from 600infos

600infosUpdated #Pichat on a #Linux Server and modified the Install- and Updatescript on http://pichat-wiki.de/manuals/install_pichat_on_linux
About 2 weeks, 6 days ago from 600infos (Wolf)

SNMP Request

http://net-snmp.sourceforge.net/download.html

@echo off

if not defined _server set _server=127.0.0.1
if not defined _community set _community=public
if not defined _mibsdir set _mibsdir=./mibs

cls
echo.
echo.Display SNMP Status
echo.===================
echo.
set /p _Server=Serveraddress [%_server%]: 
set /p _community=Community [%_community%]: 

::show SNMP Status
echo on
  snmpstatus.exe -v 1 -O n -M %_mibsdir% -c %_community% %_server%
@echo off

::show timetics of SNMP Service uptime
echo on
  snmpget.exe -v 1 -O n -M %_mibsdir% -c %_community% %_server% 1.3.6.1.2.1.1.3.0
@echo off


::show if the Sevice "SNMP Service" on a windows system is running
set _sevice=SNMP Service
echo on
snmpwalk.exe -v 1 -O n -M %_mibsdir% -c %_community% %_server% 1.3.6.1.4.1.77.1.2.3.1.1 | ( 
  @find /i "%_sevice%" 
) && ( 
  @echo off
  echo "%_sevice%" is running  
) || (
  @echo off
  echo not found "%_sevice%"
)
@echo off

::show if the process "snmp.exe" on a windows system is running
set _process=snmp.exe
snmpwalk.exe -v 1 -O n -M %_mibsdir% -c %_community% %_server% 1.3.6.1.2.1.25.4.2.1.2 | ( 
  find /i "%_process%" 
) && ( 
  echo "%_process%" is running  
) || (
  echo not found "%_process%"
)


Translate
Advertisment
  • more about Pichat on http://www.pichat.net
  • C4 - Tiny chat software
  • http://600infos.de
  •    Counter:  03224  Online:  7  Your IP:  38.107.191.94  DNS:  unknown  Page generated in    0.15 sec.