Re: [Nagios-users] SNMP configuration

2009-07-28 Thread Natxo Asenjo
On Tue, Jul 28, 2009 at 3:04 PM, Dayo Adewunmi wrote: > Hi > > according to my switch's manual, these are the SNMP Group Access Levels > available. > http://paste.ubuntu.com/235182/ I have no idea what they are talking about. From the nagios server, run these command: # snmpwalk -v 1 -c public ip

Re: [Nagios-users] SNMP configuration

2009-07-28 Thread Alex Dehaini
Hi Dayo, I have some questions in order to help you 1. Is your switch an ubuntu server? 2. Is the SNMP service enabled and running on your switch? 3. What is the community string on your switch? 4. Is your nagios server allowed SNMP access to your switch? Regards, Alex Dehaini On Tue, Jul 28,

[Nagios-users] SNMP configuration

2009-07-28 Thread Dayo Adewunmi
Hi according to my switch's manual, these are the SNMP Group Access Levels available. http://paste.ubuntu.com/235182/ This is the output of ./check_snmp -V: check_snmp v2021 (nagios-plugins 1.4.13) I'm new to SNMP, and need to know which GAL I should use. Best regards Dayo ---

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-22 Thread Jimmyboy
Hi Ian, You were absolutely correct. I just had to edit the 'command.cfg' and 'windows.cfg' files to get the system uptime value within Nagios' web interface. Also, 'hrSystemUptime.0' fetches the Windows-based system's uptime, whereas, 'sysUpTime.0' fetches the uptime of SNMP service. Hats off t

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Ian Masters
If your command is working from the command line chances are it will succeed if you configure your cfg file as I indicated. I have noticed that hrSystemUptime.0 gives more accurate information than sysUpTime.0 if you have access to that oid. On the system I'm checking (a linux box) hrSystemUptime

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Kevin Keane
No. These two files are related to the SNMP daemon and the SNMP trap handling, respectively. Basically, SNMP has two different ways it operates. You can query client machines using SNMP, or the client machines can actively send you information (usually only when some event occurs). Actively sendin

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Jimmyboy
I have snmpd.conf and snmptrapd.conf files within the path '/etc/snmp/'. Shouldn't one need to make changes within these configuration files in order to pass/retrieve relevant information to the web interface of Nagios? What I feel is Nagios is unable to query the network entity and so unable to g

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Ian Masters
> I am trying to get SNMP to work within the /web interface of NAGIOS/. > I have a Windows-based machine installed with SNMP service and > configured with its public community. However, Nagios' web interface is > unable to pull the *sysUpTime.0* from this Windows machine though PING > works. Ha

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-04 Thread Ian Masters
This works fine for me: check_command check_snmp! -H 172.16.1.1 -C -o sysUpTime.0 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-03 Thread Kevin Keane
Ian Masters wrote: >> On doing "check_snmp -H 172.25.198.36 -C -o sysUpTime.0", it returns >> SNMP OK - TimeTicks: (17742960) 2 days, 1:17:09.60 >> > > If Nagios can succeed on the command line without changing your snmp config I > would presume that means the problem is in your nagios .c

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-03 Thread Kevin Keane
I'm not quite sure what you mean when you are saying "trying to get SNMP to work within the web interface of Nagios". These two things really have very little to do with each other. The Web interface is simply something that lets you, the user, access status information. Any checking is configu

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-03 Thread Ian Masters
> On doing "check_snmp -H 172.25.198.36 -C -o sysUpTime.0", it returns > SNMP OK - TimeTicks: (17742960) 2 days, 1:17:09.60 If Nagios can succeed on the command line without changing your snmp config I would presume that means the problem is in your nagios .cfg file. ---

Re: [Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-03 Thread Jimmyboy
Oh yes, as I mentioned earlier, it worked fine. On doing "snmpwalk -v1 -c 172.25.198.36 sysUpTime.0" it returns DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (17703247) 2 days, 1:10:32.47 On doing "check_snmp -H 172.25.198.36 -C -o sysUpTime.0", it returns SNMP OK - TimeTicks: (177429

[Nagios-users] SNMP configuration for Nagios: sysUpTime.

2009-06-03 Thread Jimmyboy
Hi *All*, I am trying to get SNMP to work within the *web interface of NAGIOS*. I have a Windows-based machine installed with SNMP service and configured with its public community. However, Nagios' web interface is unable to pull the *sysUpTime.0* from this Windows machine though PING works. *Obs