rrdtool과 cacti 설치하였는데..

certlys82의 이미지

메일과 문자 메시지 기능도 첨가 할수 있는건가용?
일단 해당 네트워크군 에 대한 모니터링만 하고 있습니다..

만약 여기에 메일 기능, 문자서비스 기능( 임계치 를 걸어넣고 그 임계치 값 이상, 이하의 이벤트에 대한 메일,문자 발송기능)
을 할려면 어떻게 해야 하나요??

만약 가능하다면
참고 할 만한 사이트나..대략적인 개요만..
알려주시면.. 감사하겠습니다.

ydhoney의 이미지

nagios가 하는겁니다. -_-
 
 
====================여기부터 식은어치====================
안녕하세요. 저는 야동 초등학교 2학년 6반 11번입니다!! 제 컴퓨터에 리눅스를 깔아보고 싶습니다. 리눅스라는건 어제 처음 들어 보았습니다.
리눅스에서도 카트라이더는 되겠지요? 설마 안되나요? 안되면 왜 쓰나요? =3=33 리눅스에서는 카트라이더 캐릭터 머리가 너무 커서 못받아들이나요?

jellypo의 이미지

임계값 이상/이하일 경우 메일 보내기는 됩니다. 문자 보내기는 좀 소스 수정이 필요하겠지만요.

cacti에 PIA 패치를 한 후 - 플러그인 아키텍쳐라는 놈입니다. 이 패치를 하고 나면 각종 플러그인을 쓸 수 있습니다. nagios 부럽잖습니다. - thold란 놈을 설치하면 됩니다.

문제는 2008년 3월 14일 현재 최신버전인 cacti 0.87b에 PIA 2.0 패치를 하면 바로 쓸 수가 없습니다. 소스상에 문제인지, 패치 도중에 잘못되는건지는 모르겠습니다.

PIA 2.0 패치를 하고 난 뒤 cacti 루트에 plugins.php가 있을겁니다. 거기서

    --- include/plugins.php.orig 2008-02-25 09:47:35.000000000 -0800
    +++ include/
plugins.php 2008-02-25 09:48:12.000000000 -0800
    @@ -32,13 +32,7 @@
    }
    }
 
    -if (isset($_SERVER['DOCUMENT_ROOT']) && isset($_SERVER['REMOTE_ADDR'])) {
    - $config['url_path'] = substr(__FILE__, strlen($_SERVER['DOCUMENT_ROOT']), strlen(__FILE__) - strlen($_SERVER['DOCUMENT_ROOT']) - strlen('include/plugins.php'));
    - db_execute("REPLACE INTO settings (name, value) VALUES ('url_path', '" . $config['url_path'] . "')");
    -} else {
    - $config['url_path'] = db_fetch_cell("SELECT value FROM settings WHERE name = 'url_path'");
    -}
    -
    +$config['url_path'] = '/cacti/';
    define('URL_PATH', $config['url_path']);

if 구문을 지우고 $config['url_path'] = '/cacti/'; 를 추가하란 소리입니다. '/cacti/'는 적절히 수정하셔야 합니다. http://localhost/cacti/ 일 경우 그대로 쓰시면 되고. http://localhost/foo/ 이면 '/foo/'로 쓰시면 됩니다.

thold는 0.3.9 가 최신인데 이것도 바로 안 돌아갑니다.

check-thold.php와 thold_functions.php에 logger 함수가 두 번 선언되어있습니다. 어느 한쪽 함수를 주석 혹은 삭제해주세요.

그리고 SMTP 설정이랑 임계값 설정 적절히 해주시면 됩니다.

check-thold.php 를 잘 보면 주석 끝나고 바로 exit; 가 있습니다. exit를 파일 끝 php?> 바로 윗줄로 옮겨줍시다(;;;).

http://cacti.net/
http://cactiusers.org/

이 두 곳에 cacti 모든 정보가 있습니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.