Gather script output
Posted: Tue Jul 09, 2013 7:50 am
Hello all.
I'd like to integrate some data from scripts installed on monitored servers. I'd like also send the data via ssh tunnel with -L local port forwarding (it is not a problem).
The agent has perl scripts writing to the socket. Simply like in http://blog.gulfsoft.com/2008/03/brief- ... -data.html
The output data is formated in following manner "ID|Application_group|Name_of_service|severity|Summary" for example:
KL:001|ERP_System|ERP.OS.CPU|critical|CPU usage is in critical state
Can you help me how to handle such simple text content into Nagios?
Is it possible to map "Name_of_service" to Nagios GUI service name?
I don't want to use any specialized agents. Only existing perl scripts on Unix/Windows(cygwin) machines.
Thx.
I'd like to integrate some data from scripts installed on monitored servers. I'd like also send the data via ssh tunnel with -L local port forwarding (it is not a problem).
The agent has perl scripts writing to the socket. Simply like in http://blog.gulfsoft.com/2008/03/brief- ... -data.html
The output data is formated in following manner "ID|Application_group|Name_of_service|severity|Summary" for example:
KL:001|ERP_System|ERP.OS.CPU|critical|CPU usage is in critical state
Can you help me how to handle such simple text content into Nagios?
Is it possible to map "Name_of_service" to Nagios GUI service name?
I don't want to use any specialized agents. Only existing perl scripts on Unix/Windows(cygwin) machines.
Thx.