Re: [Nagios-users] snmp questions

2007-06-27 Thread Dmitriy Kirhlarov
Ronan REYNAUD wrote:
 Hi
 
  
 
 I’m new to nagios, and I’d like to get some snmp requests.
 
 It’s Ok for some requests (Uptime for example)
 
 But I can’t get  Disk Space. (No Data received from Host)
 
 I tried to used snmpget in a console, and get the same bad result.
 
 May be the Oids are wrong..
 
  
 
 Could someone give me a clue ?

are you have something like:
disk / 1
disk /tmp 1
disk /usr 1
disk /var 1

in your snmpd.conf?

after that you can get data from OIDs starting from
1.3.6.1.4.1.2021.9.1.1.1

It's UCD-SNMP-MIB

WBR.
Dmitriy


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] SMS to mobile phone on Brazil.

2007-04-16 Thread Dmitriy Kirhlarov
On Mon, Apr 16, 2007 at 11:54:08AM -0300, Junior Pires wrote:
 Hi! I'm a new user of this list and a newbie on Nagios.
 
 I'm configuring my Nagios and have the following question:
 
 Can i make my nagios to send SMS to my moblile phone (claro) in my country?
 
 I have this question, because i saw some documentations and saw that only
 have supprt to phones out of my country...
 
 Any help?

You can use one of free|commercial sms gates (csoft.co.uk for example)
with simple notification script,
or you can send messages over mobile phone, connected to server. In
this case, you must setup some software for sending sms's over phone,
before.
http://smstools.meinemullemaus.de/ (for example)

WBR.
Dmitriy

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios menagemente

2007-04-10 Thread Dmitriy Kirhlarov
On Tue, Apr 10, 2007 at 04:19:49PM +0200, chiel wrote:
 Maybe Monarch?
 http://monarch.sourceforge.net/
 
 It uses a mysql database to store all you hosts/services etc and then 
 generates the .cfg for you.

I have several location with dedicated nagios server for every
location and central server for accumulation information. This server
get data over nsca.
Central server have host and server lists from all servers, but active
checks are deactivate for them.
Can monarch help me for maintaine this configuration?
May be some other tool?

WBR
Dmitriy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NRPE:Unable to read output

2007-03-05 Thread Dmitriy Kirhlarov
On Mon, Mar 05, 2007 at 11:19:41AM +0530, [EMAIL PROTECTED] wrote:

 I am trying Nagios 2.6  NRPE 2.6 on Redhat EL4 update 4. When I am
 running command .check_nrpe command, getting Unable to read output error

Check your server.
 - is nrpe started?
 - is you have same password and CRYPT algoritm on client and server
   side?
 - is your nrpe server configured for run check_load from client?

 Any help on this  Also anybody have doc explaining how to use nagios to
 monitor using SNMP.

At first you have to configure snmpd on target hosts. Then, you must
define OID's for checks.

Nothing special for nagios.

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7245 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] LDAPS question

2007-01-19 Thread Dmitriy Kirhlarov
On Fri, Jan 19, 2007 at 12:23:15PM -0500, Formoso, Travis wrote:
 Hello,
 
 I am trying to monitor LDAPS on my server and I am using this command: 
 ./check_ldaps -H mars.blueslate.net -b o=scalix -p 636
 
 I get the following error: Could not bind to the ldap-server

put in your openldap/ldap.conf directives:
TLS_CACERT
TLS_REQCERT (if needed)

Details -- ldap.conf(5)

WBR
Dmitriy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Some spezial nagios 2.6 questions

2007-01-15 Thread Dmitriy Kirhlarov
Hi!

On Mon, Jan 15, 2007 at 12:56:01PM +0100, Daniel wrote:

 i have some questions about nagios 2.6 and config issue's.
 
 First, i want to know if it is possible to say:
 
 alert me every X minutes when the down status isn't changed to up.
 I makes me nervouse to get every 10 minutes a sms where i can see
 Host is down... its enough when i see it every 1 Hour for example.
 I dont want to change it globaly, only per host.

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html

You need option notification_interval, I think.
Possible, you can be interested in
http://nagios.sourceforge.net/docs/2_0/escalations.html

 Next questions is:
 
 I get a sms where i can see: PING WARNING - Packet loss = 20%, RTA = 17.12 ms
 
 I setup in the host config following:
 
  check_command   check_ping!200.0,40%!700.0,60%

Check your checkcommands.cfg:
grep -A 3 -B 2 -E ^.*command_name.*check_ping checkcommands.cfg

WBR
Dmitriy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Plugin issue

2007-01-15 Thread Dmitriy Kirhlarov
On Mon, Jan 15, 2007 at 07:56:47AM +0300, [EMAIL PROTECTED] wrote:

 Hallo thanks so much for your time.However the command is still timing out
 and giving me the same error.Here is my command definition in the hosts

1. Try to run command manualy.
2. Check your host with ping command. Host alive?
3. What your operation system? AFAIR, FreeBSD port have special patch
for check_ping.

WBR
Dmitriy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Regarding SNMP Trap

2006-12-28 Thread Dmitriy Kirhlarov
On Thu, Dec 28, 2006 at 11:16:04AM +0530, Ranjeet Kumar wrote:

 1. Show your snmptrapd.conf.
 
   traphandle default /usr/sbin/snmptthandler

Check also, what your snmptrapd runned and your snmptt runned as daemon.

In this case, your log files must have messages from snmptrapd and
snmptt.

 4. submit_check_result must use nsca for transport.
 
   I am not using nsca. I don't think it is required because same
 server is acting as snmptrap server as well as nagios monitoring server.
 Is it really required?

No. You can work directly with nagios command_file.

   I have not started working on this as exec statement is not
 working.

Try to replace EXEC to some simple command like
date  /tmp/snmptt.exec.log

It's doesn't work too?
If yes -- check installed perl modules.

I'm using:

snmptt-1.1  SNMP trap handler/translator/swiss-army-knife
Information for snmptt-1.1:

Depends on:
Dependency: perl-5.8.8
Dependency: p5-Config-IniFiles-2.39
Dependency: net-snmp-5.2.3_3

FreeBSD 6.2-PRERELEASE

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Regarding SNMP Trap

2006-12-27 Thread Dmitriy Kirhlarov
On Wed, Dec 27, 2006 at 04:39:24PM +0530, Ranjeet Kumar wrote:

 EXEC /usr/share/nagios2/plugins/eventhandlers/submit_check_result $r
 snmp_traps 2 $O: $1 $2 $3 $4 $5
 
 
 
 I am able to see the logs of translated trap as log but it is not
 executing the EXEC command. I tried using manually it works fine.

1. Show your snmptrapd.conf.

2. Check your snmptt.ini file in
[Exec] section.

3. Can you execute
/usr/share/nagios2/plugins/eventhandlers/submit_check_result
manualy?

4. submit_check_result must use nsca for transport.
Is your nsca can take result? Switch on debug in nsca.conf.

5. nagios must have properly configured host and service for
interpretate getted trap.

For me it's work.

Also, see:
http://nagios.org/faqs/viewfaq.php?faq_id=29expand=falseshowdesc=true
http://www.snmptt.org/docs/snmptt.shtml
http://www.samag.com/documents/s=9559/sam0503g/

WBR
-- 
Dmitriy Kirhlarov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.208 F:+7 495 105 7246 E:[EMAIL PROTECTED]
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null