NagiosXI version Installation Error
-
angurisudhakar
Re: NagiosXI version Installation Error
I have configured the snmptt deamon,But i am getting below response,Waiting for trap...
please guide me for troubleshot.
SNMP Traps Active checks are disabled for this service Ok 4m 19s 1/1 2013-10-03 07:58:52 Waiting for trap...
please guide me for troubleshot.
SNMP Traps Active checks are disabled for this service Ok 4m 19s 1/1 2013-10-03 07:58:52 Waiting for trap...
-
angurisudhakar
Remote Linux server SNMP-Traps in NagiosXI server
Going through below link i have configured the SNMPTT deamon and SNMP-wizard for Capturing incoming traps,But i am getting below Error ,it is show,Please how to trouble shot the communication between to servers.
Waiting for trap
http://library.nagios.com/library/produ ... -nagios-xi
Waiting for trap
http://library.nagios.com/library/produ ... -nagios-xi
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NagiosXI version Installation Error
Have you tried sending a test trap from the troubleshooting section of the documentation you linked? Also, do you have anything in your:
Code: Select all
/var/log/snmptt/snmpttunknown.log-
angurisudhakar
Re: NagiosXI version Installation Error
Yes i have tested ,
But traps are coming in /var/log/messages not in /var/log/snmptt/snmpttunknown.log
why it is coming in /var/log/messages ,is there any configuration problem.?
But traps are coming in /var/log/messages not in /var/log/snmptt/snmpttunknown.log
why it is coming in /var/log/messages ,is there any configuration problem.?
-
angurisudhakar
Re: NagiosXI version Installation Error
Hi ,
Can You please answer the below question.
1.If traps are coming into NagiosXI server where it is log-in(log file name and path).?
2. If traps are available in logf ile, How to read the traps script name (script and path) and display the webpage.?
3.define service {
host_name hostname
service_description SNMP Traps
use xiwizard_snmptrap_service
max_check_attempts 1
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 1
notification_period xi_timeperiod_24x7
contacts nagiosadmin
icon_image snmptrap.png
_xiwizard snmp_trap
register 1
}
in above service there is no check_command is defined , how it will work.?
Can You please answer the below question.
1.If traps are coming into NagiosXI server where it is log-in(log file name and path).?
2. If traps are available in logf ile, How to read the traps script name (script and path) and display the webpage.?
3.define service {
host_name hostname
service_description SNMP Traps
use xiwizard_snmptrap_service
max_check_attempts 1
check_interval 1
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 1
notification_period xi_timeperiod_24x7
contacts nagiosadmin
icon_image snmptrap.png
_xiwizard snmp_trap
register 1
}
in above service there is no check_command is defined , how it will work.?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXI version Installation Error
They would be logged in either the /usr/local/nagios/var/nagios.log or /var/log/messages, and possibly both. I am confused on the second question, traps being sent to nagios services, are never read from a log file and processed, they are sent directly to the nagios command pipe. The service will work, as it is a passive check, it does not actively check or connect to anything. Snmptt and snmptraphandler.py forward correctly formatted events to nagios directly.
Edit: Also please do not double post, but instead edit your previous post. Our office hours are 9am-5pm CDT, and we are only available on the forums through those hours.
Edit: Also please do not double post, but instead edit your previous post. Our office hours are 9am-5pm CDT, and we are only available on the forums through those hours.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
angurisudhakar
Re: NagiosXI version Installation Error
Hi,
http://exchange.nagios.org/directory/Ad ... on-Wizards
From the above link i have downloaded the SNMP-TRAP plug-in and Nagios XI by using the Upload option on the monitoring wizard administration screen successfully installed.
After that Configure->Core Config Manager->Configuration Wizards->Run the Monitoring Wizard->SNMP Trap
Click the traps option -> Select the hosts you would like to enable SNMP Traps for
I have added on host for monitoring the traps.
Note:Also also through the XI interface AdminAdmin -> Manage MIBs uploaded the respective MIBS.
In The web page it is showing STATUS-INFORMATION: OK: TRAP RESET
one more thing i have not found any script name snmptraphandler.py in NagioXI server.
even i extracted snmp-trap Plugin folder \snmp-trap\snmp-trap\plugins plugin are empty showing.
http://exchange.nagios.org/directory/Ad ... on-Wizards
From the above link i have downloaded the SNMP-TRAP plug-in and Nagios XI by using the Upload option on the monitoring wizard administration screen successfully installed.
After that Configure->Core Config Manager->Configuration Wizards->Run the Monitoring Wizard->SNMP Trap
Click the traps option -> Select the hosts you would like to enable SNMP Traps for
I have added on host for monitoring the traps.
Note:Also also through the XI interface AdminAdmin -> Manage MIBs uploaded the respective MIBS.
In The web page it is showing STATUS-INFORMATION: OK: TRAP RESET
one more thing i have not found any script name snmptraphandler.py in NagioXI server.
even i extracted snmp-trap Plugin folder \snmp-trap\snmp-trap\plugins plugin are empty showing.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXI version Installation Error
I'm sorry, what is this in reference to?even i extracted snmp-trap Plugin folder \snmp-trap\snmp-trap\plugins plugin are empty showing.
As for the snmptraphandler.py, it would seem that you have it, as your traps are being forwarded if they are not in a pending state. Let's just 100% verify with the following command:
Code: Select all
rpm -qa | grep snmpNagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
angurisudhakar
Re: NagiosXI version Installation Error
Thanks for input now traps are receiving and displaying in web page.
how to monitor two different servers traps , To display specific hosts traps in webpage.?
how to monitor two different servers traps , To display specific hosts traps in webpage.?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXI version Installation Error
You need to make trap services for each host that is sending traps in. From there, nagios will use the host address field to differentiate which trap should go to what service. You should not need to alter anything from snmptt and the like, unless additional mibs need to be added. If you do not add additional trap services within XI, you will see these other hosts go to the unknown alerts page in Admin.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.