Hi all,
We're writing some scripts to check our services here with Python. We wrote them to use paramiko to connect to another system. All went well and our scripts are working when we run them in the command line. Unfortunately, when trying to implement them in Nagios Core we get (null) as Status Information. To me it looks like in some way Nagios does not find/know how to work with paramiko. I concluded this because when deleting the paramiko part it just works fine.
Python plugin reports status (null)
Re: Python plugin reports status (null)
Are you running the script from the cli as user nagios? if not, su over to nagios and see if it works. If it does not, you may have permission problems.
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.
Re: Python plugin reports status (null)
At the moment i'm using my administrator account on ubuntu (which is not called nagios) , should I rename it? My colleague is working with a user named 'nagios' but there it seems also not working. Btw, does it matter where our scripts are stored? Currently they're located on the desktop and full path is described in the commands.cfg
Re: Python plugin reports status (null)
It seems that we were missing the nrpe plugin and this was causing the problem.
Re: Python plugin reports status (null)
Is this resolved then?
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.
Re: Python plugin reports status (null)
Yes this is resolved!