Re: [Nagios-users] SNMP showing Unknown

2010-09-14 Thread IT Toonz
Thanks Justin, 

 

Will update as soon as we get through!

 

Regards

Ananth.

 

From: Dorfman, Justin [mailto:jus...@mahalo.com] 
Sent: 13 September 2010 20:27
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

 

C:\net-snmp\etc\snmp\snmpd.conf has to contain something like this : 


Code:


rocommunity public

 

Here is an example of ours:

 

syslocation  LAX

 

disk  /var 5%

disk  /usr 5%

disk  /tmp 5%

 

load  30 30 30

 

syscontact em...@domain.com

rwcommunity sdjslf8sdf8 192.168.0.0/24

rocommunity public 

 

 

You then need to restart NET-SNMP for the changes to apply.

 

Good little tutorial: http://forums.cacti.net/about26151.html

 

Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman  | @MahaloSysops
http://twitter.com/MahaloSysops  | Blog: http://bit.ly/aNiWSk



On Mon, Sep 13, 2010 at 2:54 AM, IT Toonz it.to...@gmail.com wrote:

Hi Justin,

 

Thanks for the reply.

 

We downloaded net-snmp.exe and installed in a monitored window server.

 

Didn't modify anything, tried to start net-snmp service from the windows
system, stopped at event id 7031! Checking again

 

Downloaded and installed the perl scripts... is there anything to modify...

 

Please advice.

 

Regards

Ananth.

 

 

 

 

From: Dorfman, Justin [mailto:jus...@mahalo.com] 
Sent: 10 September 2010 20:06


To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

Ananth,

 

This is how we check an SNMP process (in commands.cfg):

 

# 'check_snmp' command definition 

define command{

command_namecheck_snmp_process

command_line$USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C
$USER3$

}

 

I would recommend you downloading these perl scripts:
http://nagios.manubulon.com/index_snmp.html and putting them into your
/usr/local/nagios/libexec folder.

 

Let me know how it goes.

 

Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman  | @MahaloSysops
http://twitter.com/MahaloSysops  | Blog: http://bit.ly/aNiWSk

On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz it.to...@gmail.com wrote:

Hi Justin, 

 

We have the native SNMP in Windows installed and we wanted to monitor those
readings. We downloaded and installed Net-SNMP, but seems there a bit of
configuring to do, we are fiddling with Nagios settings, so not sure whether
we want to spend time learning Net-SNMP at present.

 

But its definitely something which we want to look at in the future. Thanks
for sharing the info.

 

Meanwhile we are still stuck in SNMP!!

 

This is what we get when we run 

[r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp

SNMPv2-MIB::snmpInPkts.0 = Counter32: 1

SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11

SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0

SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0

SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0

SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0

SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0

SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0

SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0

SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0

SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0

SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11

SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0

SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14

SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0

SNMPv2-MIB::snmpInTraps.0 = Counter32: 0

SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0

SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0

SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0

SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0

SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25

SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10

SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)

 

 

So seems client side is fine. Please advice... below is the error we get by
mail

 

* Nagios *

 

Notification Type: PROBLEM

 

Service: SNMP

Host: antivirsrv

Address: 192.168.3.100

State: UNKNOWN

 

Date/Time: Thu Sept 9 14:42:56 IST 2010

 

Additional Info:

 

No OIDs specified

 

below is the config settings for windows servers

 

# Create a service for monitoring SNMP

 

define service{

use generic-service

host_name   taipl-domsrv

host_name   tai3dserver

host_name   tai3dstorage-02

host_name   tai3d-avsrv

service_description SNMP

check_command
check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000

}

 

Please advicewhat else is there to configure, please be specific, we
just started in Fully Automated Nagios

Re: [Nagios-users] SNMP showing Unknown

2010-09-13 Thread IT Toonz
Thanks Marc, checking out what your said.

-Original Message-
From: Marc Powell [mailto:li...@xodus.org] 
Sent: 09 September 2010 17:42
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown


On Sep 9, 2010, at 4:36 AM, IT Toonz wrote:


 below is the config settings for windows servers
  
 # Create a service for monitoring SNMP
  
 define service{
 use generic-service
 host_name   taipl-domsrv
 host_name   tai3dserver
 host_name   tai3dstorage-02
 host_name   tai3d-avsrv
 service_description SNMP
 check_command
check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000
 }
  
 Please advicewhat else is there to configure, please be specific, we
just started in Fully Automated Nagios, with a lot of help we have reached
this far J


  define command{
  command_namecheck_snmp
  command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
  }

Based on the check_command that you have above, the command_line you've told
nagios to run is --

/path/to/plugins/check_snmp -H address from host{}
.1.3.6.1.2.1.25.1.3.1.6.2

As you can see, this is far from complete or formatted properly. I'm not
sure what the parameters you are trying to pass are but way you have the
command_line set up requires that you pass them as part of the check_command
like so --

  define service {
  ...
  check_command check_snmp!-o .1.3.6.1.2.1.25.2.3.1.6.2 -C
communitystring -l Cachebuffers -(... whatever other paramenters you are
trying to pass to check_snmp)

You probably want to read the documentation on using arguments in commands,
specifically the $ARGx$ macros and check_snmp documenation (man check_snmp)
to fully understand why what you tried didn't work.

--
Marc



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
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] SNMP showing Unknown

2010-09-13 Thread IT Toonz
Hi Justin,

 

Thanks for the reply.

 

We downloaded net-snmp.exe and installed in a monitored window server.

 

Didn't modify anything, tried to start net-snmp service from the windows
system, stopped at event id 7031! Checking again

 

Downloaded and installed the perl scripts... is there anything to modify...

 

Please advice.

 

Regards

Ananth.

 

 

 

 

From: Dorfman, Justin [mailto:jus...@mahalo.com] 
Sent: 10 September 2010 20:06
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

Ananth,

 

This is how we check an SNMP process (in commands.cfg):

 

# 'check_snmp' command definition 

define command{

command_namecheck_snmp_process

command_line$USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C
$USER3$

}

 

I would recommend you downloading these perl scripts:
http://nagios.manubulon.com/index_snmp.html and putting them into your
/usr/local/nagios/libexec folder.

 

Let me know how it goes.

 

Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman  | @MahaloSysops
http://twitter.com/MahaloSysops  | Blog: http://bit.ly/aNiWSk



On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz it.to...@gmail.com wrote:

Hi Justin, 

 

We have the native SNMP in Windows installed and we wanted to monitor those
readings. We downloaded and installed Net-SNMP, but seems there a bit of
configuring to do, we are fiddling with Nagios settings, so not sure whether
we want to spend time learning Net-SNMP at present.

 

But its definitely something which we want to look at in the future. Thanks
for sharing the info.

 

Meanwhile we are still stuck in SNMP!!

 

This is what we get when we run 

[r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp

SNMPv2-MIB::snmpInPkts.0 = Counter32: 1

SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11

SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0

SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0

SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0

SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0

SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0

SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0

SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0

SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0

SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0

SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11

SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0

SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14

SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0

SNMPv2-MIB::snmpInTraps.0 = Counter32: 0

SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0

SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0

SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0

SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0

SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25

SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10

SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)

 

 

So seems client side is fine. Please advice... below is the error we get by
mail

 

* Nagios *

 

Notification Type: PROBLEM

 

Service: SNMP

Host: antivirsrv

Address: 192.168.3.100

State: UNKNOWN

 

Date/Time: Thu Sept 9 14:42:56 IST 2010

 

Additional Info:

 

No OIDs specified

 

below is the config settings for windows servers

 

# Create a service for monitoring SNMP

 

define service{

use generic-service

host_name   taipl-domsrv

host_name   tai3dserver

host_name   tai3dstorage-02

host_name   tai3d-avsrv

service_description SNMP

check_command
check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000

}

 

Please advicewhat else is there to configure, please be specific, we
just started in Fully Automated Nagios, with a lot of help we have reached
this far J 

 

Regards

Ananth.

 

From: Dorfman, Justin [mailto:jus...@mahalo.com] 
Sent: 08 September 2010 22:59


To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

First off do you have NET-SNMP
(http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina
ries/) installed on the server you are trying to fetch info from?

 


Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman  | @MahaloSysops
http://twitter.com/MahaloSysops  | Blog: http://bit.ly/aNiWSk

On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz it.to...@gmail.com wrote:

You need to look at the service definition as well as the command

definition to find out how the command is configured to run for this

particular service check.

 

Which file that will be? The command.cfg file entry was the one we had put
in the earlier mail.

 

We are newbies's so

Re: [Nagios-users] SNMP showing Unknown

2010-09-13 Thread Dorfman, Justin
C:\net-snmp\etc\snmp\snmpd.conf has to contain something like this :
*Code:*rocommunity public
Here is an example of ours:

*syslocation  LAX*


 disk  /var 5%

 disk  /usr 5%

 disk  /tmp 5%


 load  30 30 30


 *syscontact em...@domain.com*

 *rwcommunity sdjslf8sdf8 192.168.0.0/24*

 *rocommunity public *



*You then need to restart NET-SNMP *for the changes to apply.

Good little tutorial: http://forums.cacti.net/about26151.html

Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Mon, Sep 13, 2010 at 2:54 AM, IT Toonz it.to...@gmail.com wrote:

  Hi Justin,



 Thanks for the reply.



 We downloaded net-snmp.exe and installed in a monitored window server.



 Didn’t modify anything, tried to start net-snmp service from the windows
 system, stopped at event id 7031! Checking again



 Downloaded and installed the perl scripts... is there anything to modify...



 Please advice.



 Regards

 Ananth.









 *From:* Dorfman, Justin [mailto:jus...@mahalo.com]
 *Sent:* 10 September 2010 20:06

 *To:* Nagios Users List
 *Subject:* Re: [Nagios-users] SNMP showing Unknown



 Ananth,



 This is how we check an SNMP process (in commands.cfg):



 # 'check_snmp' command definition

  define command{

  command_namecheck_snmp_process

  command_line$USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C
 $USER3$

  }



 I would recommend you downloading these perl scripts:
 http://nagios.manubulon.com/index_snmp.html and putting them into your *
 /usr/local/nagios/libexec* folder.



 Let me know how it goes.



 Regards,

 Justin Dorfman
 Mahalo.com Inc.  Jr. Systems Engineer
 818.485.1458
 @jdorfman http://www.twitter.com/jdorfman | 
 @MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
 http://bit.ly/aNiWSk

  On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz it.to...@gmail.com wrote:

 Hi Justin,



 We have the native SNMP in Windows installed and we wanted to monitor those
 readings. We downloaded and installed Net-SNMP, but seems there a bit of
 configuring to do, we are fiddling with Nagios settings, so not sure whether
 we want to spend time learning Net-SNMP at present.



 But its definitely something which we want to look at in the future. Thanks
 for sharing the info.



 Meanwhile we are still stuck in SNMP!!



 This is what we get when we run

 [r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp

 SNMPv2-MIB::snmpInPkts.0 = Counter32: 1

 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11

 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0

 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0

 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0

 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0

 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0

 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0

 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0

 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0

 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0

 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11

 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0

 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14

 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0

 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0

 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0

 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0

 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0

 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25

 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10

 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)





 So seems client side is fine. Please advice... below is the error we get by
 mail



 * Nagios *



 Notification Type: PROBLEM



 Service: SNMP

 Host: antivirsrv

 Address: 192.168.3.100

 State: UNKNOWN



 Date/Time: Thu Sept 9 14:42:56 IST 2010



 Additional Info:



 No OIDs specified



 below is the config settings for windows servers



 # Create a service for monitoring SNMP



 define service{

 use generic-service

 host_name   taipl-domsrv

 host_name   tai3dserver

 host_name   tai3dstorage-02

 host_name   tai3d-avsrv

 service_description SNMP

 check_command
 check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000

 }



 Please advicewhat else is there to configure, please be specific, we
 just started in Fully Automated Nagios, with a lot of help we have reached
 this far J



 Regards

 Ananth.



 *From:* Dorfman, Justin [mailto:jus...@mahalo.com]
 *Sent:* 08 September 2010 22:59


 *To:* Nagios Users List

Re: [Nagios-users] SNMP showing Unknown

2010-09-10 Thread Dorfman, Justin
Ananth,

This is how we check an SNMP process (in commands.cfg):


 # 'check_snmp' command definition

define command{

command_namecheck_snmp_process

command_line$USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C
 $USER3$

}


I would recommend you downloading these perl scripts:
http://nagios.manubulon.com/index_snmp.html and putting them into your *
/usr/local/nagios/libexec* folder.

Let me know how it goes.

Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz it.to...@gmail.com wrote:

  Hi Justin,



 We have the native SNMP in Windows installed and we wanted to monitor those
 readings. We downloaded and installed Net-SNMP, but seems there a bit of
 configuring to do, we are fiddling with Nagios settings, so not sure whether
 we want to spend time learning Net-SNMP at present.



 But its definitely something which we want to look at in the future. Thanks
 for sharing the info.



 Meanwhile we are still stuck in SNMP!!



 This is what we get when we run

 [r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp

 SNMPv2-MIB::snmpInPkts.0 = Counter32: 1

 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11

 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0

 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0

 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0

 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0

 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0

 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0

 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0

 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0

 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0

 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11

 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0

 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14

 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0

 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0

 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0

 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0

 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0

 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0

 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25

 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10

 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)





 So seems client side is fine. Please advice... below is the error we get by
 mail



 * Nagios *



 Notification Type: PROBLEM



 Service: SNMP

 Host: antivirsrv

 Address: 192.168.3.100

 State: UNKNOWN



 Date/Time: Thu Sept 9 14:42:56 IST 2010



 Additional Info:



 No OIDs specified



 below is the config settings for windows servers



 # Create a service for monitoring SNMP



 define service{

 use generic-service

 host_name   taipl-domsrv

 host_name   tai3dserver

 host_name   tai3dstorage-02

 host_name   tai3d-avsrv

 service_description SNMP

 check_command
 check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000

 }



 Please advicewhat else is there to configure, please be specific, we
 just started in Fully Automated Nagios, with a lot of help we have reached
 this far J



 Regards

 Ananth.



 *From:* Dorfman, Justin [mailto:jus...@mahalo.com]
 *Sent:* 08 September 2010 22:59

 *To:* Nagios Users List
 *Subject:* Re: [Nagios-users] SNMP showing Unknown



 First off do you have NET-SNMP (
 http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/)
 installed on the server you are trying to fetch info from?




 Regards,

 Justin Dorfman
 Mahalo.com Inc.  Jr. Systems Engineer
 818.485.1458
 @jdorfman http://www.twitter.com/jdorfman | 
 @MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
 http://bit.ly/aNiWSk

  On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz it.to...@gmail.com wrote:

 *You need to look at the service definition as well as the command*

 *definition to find out how the command is configured to run for this*

 *particular service check.*



 Which file that will be? The command.cfg file entry was the one we had put
 in the earlier mail.



 We are newbies's so if possible kindly explain in detail.



 Regards

 Ananth.







 -Original Message-
 From: Jim Avery [mailto:j...@jimavery.me.uk]
 Sent: 08 September 2010 16:13
 To: Nagios Users List
 Subject: Re: [Nagios-users] SNMP showing Unknown



 On 8 September 2010 10:19, IT Toonz it.to...@gmail.com wrote:

  We are using FAN 2.0

 

 

 

  One of our Windows Servers shows in Nagios.

 

 

 

  tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3

Re: [Nagios-users] SNMP showing Unknown

2010-09-09 Thread IT Toonz
Hi Justin, 

 

We have the native SNMP in Windows installed and we wanted to monitor those
readings. We downloaded and installed Net-SNMP, but seems there a bit of
configuring to do, we are fiddling with Nagios settings, so not sure whether
we want to spend time learning Net-SNMP at present.

 

But its definitely something which we want to look at in the future. Thanks
for sharing the info.

 

Meanwhile we are still stuck in SNMP!!

 

This is what we get when we run 

[r...@nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp

SNMPv2-MIB::snmpInPkts.0 = Counter32: 1

SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11

SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0

SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0

SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0

SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0

SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0

SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0

SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0

SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0

SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0

SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11

SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0

SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14

SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0

SNMPv2-MIB::snmpInTraps.0 = Counter32: 0

SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0

SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0

SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0

SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0

SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0

SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25

SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10

SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1)

 

 

So seems client side is fine. Please advice... below is the error we get by
mail

 

* Nagios *

 

Notification Type: PROBLEM

 

Service: SNMP

Host: antivirsrv

Address: 192.168.3.100

State: UNKNOWN

 

Date/Time: Thu Sept 9 14:42:56 IST 2010

 

Additional Info:

 

No OIDs specified

 

below is the config settings for windows servers

 

# Create a service for monitoring SNMP

 

define service{

use generic-service

host_name   taipl-domsrv

host_name   tai3dserver

host_name   tai3dstorage-02

host_name   tai3d-avsrv

service_description SNMP

check_command
check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000

}

 

Please advicewhat else is there to configure, please be specific, we
just started in Fully Automated Nagios, with a lot of help we have reached
this far J 

 

Regards

Ananth.

 

From: Dorfman, Justin [mailto:jus...@mahalo.com] 
Sent: 08 September 2010 22:59
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

First off do you have NET-SNMP
(http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina
ries/) installed on the server you are trying to fetch info from?

 


Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman  | @MahaloSysops
http://twitter.com/MahaloSysops  | Blog: http://bit.ly/aNiWSk



On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz it.to...@gmail.com wrote:

You need to look at the service definition as well as the command

definition to find out how the command is configured to run for this

particular service check.

 

Which file that will be? The command.cfg file entry was the one we had put
in the earlier mail.

 

We are newbies's so if possible kindly explain in detail.

 

Regards

Ananth.

 

 

 

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk] 
Sent: 08 September 2010 16:13
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

On 8 September 2010 10:19, IT Toonz it.to...@gmail.com wrote:

 We are using FAN 2.0

 

 

 

 One of our Windows Servers shows in Nagios.

 

 

 

 tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No
OIDs

 specified

 

 

 

 How can we troubleshoot it. This is the snmp entry in commands.cfg file.

 

 

 

 # 'check_snmp' command definition

 

 define command{

 

 command_namecheck_snmp

 

 command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$

 

 }

 

 

 

 We entered the snmp community name give the switch -C after check_snmp,
but

 still no effect.

 

You need to look at the service definition as well as the command

definition to find out how the command is configured to run for this

particular service check.

 

hth,

 

Jim

 


--

This SF.net Dev2Dev email is sponsored by:

 

Show off your parallel programming skills.

Enter the Intel(R

Re: [Nagios-users] SNMP showing Unknown

2010-09-09 Thread Marc Powell

On Sep 9, 2010, at 4:36 AM, IT Toonz wrote:


 below is the config settings for windows servers
  
 # Create a service for monitoring SNMP
  
 define service{
 use generic-service
 host_name   taipl-domsrv
 host_name   tai3dserver
 host_name   tai3dstorage-02
 host_name   tai3d-avsrv
 service_description SNMP
 check_command   
 check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!5!2000
 }
  
 Please advicewhat else is there to configure, please be specific, we just 
 started in Fully Automated Nagios, with a lot of help we have reached this 
 far J


  define command{
  command_namecheck_snmp
  command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
  }

Based on the check_command that you have above, the command_line you've told 
nagios to run is --

/path/to/plugins/check_snmp -H address from host{} 
.1.3.6.1.2.1.25.1.3.1.6.2

As you can see, this is far from complete or formatted properly. I'm not sure 
what the parameters you are trying to pass are but way you have the 
command_line set up requires that you pass them as part of the check_command 
like so --

  define service {
  ...
  check_command check_snmp!-o .1.3.6.1.2.1.25.2.3.1.6.2 -C 
communitystring -l Cachebuffers -(... whatever other paramenters you are 
trying to pass to check_snmp)

You probably want to read the documentation on using arguments in commands, 
specifically the $ARGx$ macros and check_snmp documenation (man check_snmp) to 
fully understand why what you tried didn't work.

--
Marc


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] SNMP showing Unknown

2010-09-08 Thread Jim Avery
On 8 September 2010 10:19, IT Toonz it.to...@gmail.com wrote:
 We are using FAN 2.0



 One of our Windows Servers shows in Nagios.



 tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs
 specified



 How can we troubleshoot it. This is the snmp entry in commands.cfg file.



 # 'check_snmp' command definition

 define command{

     command_name    check_snmp

     command_line    $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$

     }



 We entered the snmp community name give the switch –C after check_snmp, but
 still no effect.

You need to look at the service definition as well as the command
definition to find out how the command is configured to run for this
particular service check.

hth,

Jim

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] SNMP showing Unknown

2010-09-08 Thread IT Toonz
You need to look at the service definition as well as the command

definition to find out how the command is configured to run for this

particular service check.

 

Which file that will be? The command.cfg file entry was the one we had put
in the earlier mail.

 

We are newbies's so if possible kindly explain in detail.

 

Regards

Ananth.

 

 

 

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk] 
Sent: 08 September 2010 16:13
To: Nagios Users List
Subject: Re: [Nagios-users] SNMP showing Unknown

 

On 8 September 2010 10:19, IT Toonz it.to...@gmail.com wrote:

 We are using FAN 2.0

 

 

 

 One of our Windows Servers shows in Nagios.

 

 

 

 tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No
OIDs

 specified

 

 

 

 How can we troubleshoot it. This is the snmp entry in commands.cfg file.

 

 

 

 # 'check_snmp' command definition

 

 define command{

 

 command_namecheck_snmp

 

 command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$

 

 }

 

 

 

 We entered the snmp community name give the switch -C after check_snmp,
but

 still no effect.

 

You need to look at the service definition as well as the command

definition to find out how the command is configured to run for this

particular service check.

 

hth,

 

Jim

 


--

This SF.net Dev2Dev email is sponsored by:

 

Show off your parallel programming skills.

Enter the Intel(R) Threading Challenge 2010.

http://p.sf.net/sfu/intel-thread-sfd

___

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

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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] SNMP showing Unknown

2010-09-08 Thread Dorfman, Justin
First off do you have NET-SNMP (
http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/)
installed on the server you are trying to fetch info from?


Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz it.to...@gmail.com wrote:

  *You need to look at the service definition as well as the command*

 *definition to find out how the command is configured to run for this*

 *particular service check.*



 Which file that will be? The command.cfg file entry was the one we had put
 in the earlier mail.



 We are newbies's so if possible kindly explain in detail.



 Regards

 Ananth.







 -Original Message-
 From: Jim Avery [mailto:j...@jimavery.me.uk]
 Sent: 08 September 2010 16:13
 To: Nagios Users List
 Subject: Re: [Nagios-users] SNMP showing Unknown



 On 8 September 2010 10:19, IT Toonz it.to...@gmail.com wrote:

  We are using FAN 2.0

 

 

 

  One of our Windows Servers shows in Nagios.

 

 

 

  tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No
 OIDs

  specified

 

 

 

  How can we troubleshoot it. This is the snmp entry in commands.cfg file.

 

 

 

  # 'check_snmp' command definition

 

  define command{

 

  command_namecheck_snmp

 

  command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$

 

  }

 

 

 

  We entered the snmp community name give the switch –C after check_snmp,
 but

  still no effect.



 You need to look at the service definition as well as the command

 definition to find out how the command is configured to run for this

 particular service check.



 hth,



 Jim




 --

 This SF.net Dev2Dev email is sponsored by:



 Show off your parallel programming skills.

 Enter the Intel(R) Threading Challenge 2010.

 http://p.sf.net/sfu/intel-thread-sfd

 ___

 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


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 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

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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