[Nagios-users] Nagios-SNMP snmptt

2009-03-23 Thread Joseph Ribin Roy
Hi All,



I am able to execute external command and make an entry in nagios.cmd
file as



[Mon Mar 23 14:43:26 IST 2009]
PROCESS_SERVICE_CHECK_RESULT;mfin-sol02;TRAP;2;10.10.7.37
Disk_Space_in_VAR 3 NRPE:

[Mon Mar 23 14:44:52 IST 2009]
PROCESS_SERVICE_CHECK_RESULT;mfin-sol02;TRAP;2;10.10.7.37
MSM_Log_Cleaner 2 Log

[Mon Mar 23 14:44:52 IST 2009]
PROCESS_SERVICE_CHECK_RESULT;mfin-sol02;TRAP;2;10.10.7.37
MSM_Weblogic_Server 2 Weblogic



But I am not able to display it to the UI.



My configurations

define service{

  name generic-service2

  register 0

  check_period 24x7

  max_check_attempts   3

  normal_check_interval15

  retry_check_interval 5

  active_checks_enabled1

  passive_checks_enabled   0

  parallelize_check1

  obsess_over_service  0

  check_freshness  0

  event_handler_enabled0

  flap_detection_enabled   0

  process_perf_data1

  retain_status_information1

  retain_nonstatus_information 1

  notification_interval60

  notification_period  24x7

  notification_options w,u,c,r

  notifications_enabled1



}



define service{

   namesnmptrap-service

   use generic-service2

   register0

   service_description TRAP

   is_volatile 1

   check_command   check-host-alive

   max_check_attempts  1

   normal_check_interval   1

   retry_check_interval1

   passive_checks_enabled  1

   check_periodnone

   notification_interval   31536000

}



define service{

   host_name   mfin-sol02

   use snmptrap-service

}



mfin-sol02[10.10.7.37] is the host machine

UI it says "Service is not scheduled to be checked... "





Command.cfg

define command{

command_namecheck-host-alive

command_line$USER1$/check_ping -H $HOSTADDRESS$ -w
3000.0,80% -c 5000.0,100% -p 5

}



Any help will be appreciated



Thankyou

Joseph







Joseph Ribin Roy
Solutions Engineer



Mformation Technologies Inc.
Direct Line: +91 80 66205 934
Switchboard: +91 80 6620 5900



Visit WWW.MFORMATION.COM and see how the MFORMATION SERVICE MANAGER can help 
you to transform your business


Please consider the environment before printing<>--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
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

[Nagios-users] Nagios-SNMP snmptt

2009-03-19 Thread Joseph Ribin Roy
Hi All,



I enabled debug level to 2 and I am getting following log message in the
snmptt.debug file.

Issue is it is not creating snmptt.log file ...any help will be
appreciated





cwd: /tmp

Changing to UID: root (0)

Closing debug file /tmp/snmptt.debug

Debug file /tmp/snmptt.debug re-opened under uid 0

Processing file: .X11-pipe

Reading trap.  Current time: Thu Mar 19 12:23:12 2009

  Invalid trap file.  Expected a serial time on the first line but got
nothing

  Error processing trap file .X11-pipe.  Skipping...

Processing file: .X11-unix

Reading trap.  Current time: Thu Mar 19 12:23:12 2009

  Invalid trap file.  Expected a serial time on the first line but got
nothing

  Error processing trap file .X11-unix.  Skipping...

Processing file: Log-Log4perl-1.20

Reading trap.  Current time: Thu Mar 19 12:23:12 2009

  Invalid trap file.  Expected a serial time on the first line but got
nothing

  Error processing trap file Log-Log4perl-1.20.  Skipping...

Processing file: SNMP-Trapinfo-1.01

Reading trap.  Current time: Thu Mar 19 12:23:12 2009

  Invalid trap file.  Expected a serial time on the first line but got
nothing

  Error processing trap file SNMP-Trapinfo-1.01.  Skipping...

Processing file: Safe-2.11

Reading trap.  Current time: Thu Mar 19 12:23:12 2009

  Invalid trap file.  Expected a serial time on the first line but got
nothing

  Error processing trap file Safe-2.11.  Skipping...



Thanks

Joseph Ribin Roy





Joseph Ribin Roy
Solutions Engineer



Mformation Technologies Inc.
Direct Line: +91 80 66205 934
Switchboard: +91 80 6620 5900



Visit WWW.MFORMATION.COM and see how the MFORMATION SERVICE MANAGER can help 
you to transform your business


Please consider the environment before printing<>--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___
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