GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xiozip/nagios-sendsms-via-perl: Sript PERL send SMS via GSM-route

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
header.jpg
header.jpg
 
 
telemetron.pl
telemetron.pl
 
 

Repository files navigation

# nagios-sendsms-via-perl. Sript PERL send SMS via GSM-route

Можно подключить этот скрипт к событию в Nagios и к Вам будут приходить SMS.

Для начала не забудьте подключить к PERL модули из CPAN. В самом скрипте сделайте изменения. В строке :

$connect->open('X.X.X.X'); Необходимо прописать IP адрес роутера.

В строке:

$connect->login('admin', 'password');

Пропишите учетную запись и пароль.

В шаблоне 8XXXXXXXXXX пропишите номер телефона для получения СМС

В секций

//####################

//# Send to Email MIME

//####################

Пропишите реквизиты почты.

Подключите скрипт к Nagios

EXTERNAL COMMAND FILE

This is the file that Nagios checks for external command requests. It is also where the command CGI will write commands that are submitted by users, so it must be writeable by the user that the web server is running as (usually 'nobody'). Permissions should be set at the directory level instead of on the file, as the file is deleted every time its contents are processed.

command_file=@localstatedir@/rw/nagios.cmd

https://github.com/NagiosEnterprises/nagioscore/blob/master/sample-config/nagios.cfg.in

About

Sript PERL send SMS via GSM-route

Topics

monitoring-toolnagiosnagios-checksobservabilityperlsendsms

Resources

Readme

Security policy

Security policy
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.