There may be some logic problems when looking for the id of a process (pidof)
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.
Alright. It may be that the restart portion of the the script called by systemd is not validated well. If the pid doesn't exist because the service is down, and you try to restart the service, the script errors. It is not a mission critical problem or anything, but it is weird that it happened when no other changes were done to the server.
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.
The server listed in unconfig objects was using the wrong server name.
I looked at the hosts and services and what do we have here?
the server was listed twice..
hostname
and
hostname.domain name
I removed the hosts and services.
Should I add the host with the passive wizard and then run the traps wizard on it?
The nagios server does receives the traps from the host. I just need nagios to read the trap info.
You should be able to either add back via passive wizard then go to unconfigured objects, presuming traps are actively coming in, and associate the traps with that host. Otherwise you could run both the trap and passive wizards provided they are configured the same.
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.
thanks fellas. i just found out that this is a bigger issue. Seems that a restore don on my server failed. I am getting errors in all the wrong places... So I am gonna rebuild it. (its the windows side taking over.)
Ouch man, good old windows! Let us know if you need anything! Otherwise for now I'll lock this up.
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.