1.Snmp traps from Different Hosts are coming into nagiosXI Server ,But All the traps are Mapped to one single Host.
2.One host service is created and working fine .when we tried to create another host service it is giving duplicated error.
NagiosXI version Installation Error
Re: NagiosXI version Installation Error
Are the traps forwarded from another trap forwarder? If so, they will get stamped with the forwarder's information. . . You will need to rewrite the traps if that is the case . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXI version Installation Error
What errors are you seeing on the second trap service created?
When you say they are different hosts, are they actually coming in via completely separate hosts, or do you have something collecting them and forwarding to nagios?
Could you run the following command and send me the output please.
When you say they are different hosts, are they actually coming in via completely separate hosts, or do you have something collecting them and forwarding to nagios?
Could you run the following command and send me the output please.
Code: Select all
tail -n 50 /var/log/snmptt/snmptt.log
tail -n 50 /var/log/snmptt/snmptt_unknown.logNagios-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
1.What errors are you seeing on the second trap service created?
Ans: Traps Are waiting status
2.When you say they are different hosts, are they actually coming in via completely separate hosts, or do you have.?
Ans: Completely different host please find the attachment.
Note: I am setting up Nagios XI under the trial license and have run into a problem. I am attempting to delete a host, but Nagios won't remove it.
After the host was created, I attempted to delete it through the nagios xi core config gui. Everything seemed removed, but the host still shows up on the dashboard. There are no more hosts, services etc to delete and nagios tells me it was created with a more advanced utility and suggests i remove the files manually.
looking at the nagios flat files on my system, i see the host object and services config files for that server. if i manually remove them and restart nagios, i get a configuration error and nagios fails to start..
i can't find whats pointing to the two files, i grep'd everything for the ip/hostname and nothing shows up.
question is, how can i delete this host from nagios at this point?
Ans: Traps Are waiting status
2.When you say they are different hosts, are they actually coming in via completely separate hosts, or do you have.?
Ans: Completely different host please find the attachment.
Note: I am setting up Nagios XI under the trial license and have run into a problem. I am attempting to delete a host, but Nagios won't remove it.
After the host was created, I attempted to delete it through the nagios xi core config gui. Everything seemed removed, but the host still shows up on the dashboard. There are no more hosts, services etc to delete and nagios tells me it was created with a more advanced utility and suggests i remove the files manually.
looking at the nagios flat files on my system, i see the host object and services config files for that server. if i manually remove them and restart nagios, i get a configuration error and nagios fails to start..
i can't find whats pointing to the two files, i grep'd everything for the ip/hostname and nothing shows up.
question is, how can i delete this host from nagios at this point?
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXI version Installation Error
You need to always remove services and any dependencies of a host, prior to removing the host. Otherwise removal will fail.
Back to snmp traps, the waiting for trap, is not an error in any way. It is simply stating that the passive status of the check has yet to receive a result for that service. Are you seeing these traps come in under the Admin->Manage Unconfigured Objects page?
Back to snmp traps, the waiting for trap, is not an error in any way. It is simply stating that the passive status of the check has yet to receive a result for that service. Are you seeing these traps come in under the Admin->Manage Unconfigured Objects page?
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,
Thanks for your input ,Nagios SNMP TRAPS are worikg fine and Duplication hosts create problem also resolved.
One more Question:
We need traps from Different OID's to be displayed in different rows for the same host.?
Right now we have only 1 SNMP service which displays the latest trap in 1 single row.
Thanks for your input ,Nagios SNMP TRAPS are worikg fine and Duplication hosts create problem also resolved.
One more Question:
We need traps from Different OID's to be displayed in different rows for the same host.?
Right now we have only 1 SNMP service which displays the latest trap in 1 single row.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NagiosXI version Installation Error
There is no way to add lines to an existing result that has been passed to nagios already. What you would need to do, is duplicated the snmp trap service, rename it, and then modify the oid that you want to send to the newly named service. The modification you would make, would be to alter the exec line where it says "SNMP Traps" to whatever the new service name is. You would then have separate services for each OID. This is about the only resolve that would work for this situation.
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
Thanks....for your quick replay
Now it is working fine...
Now it is working fine...