Skip to content

+ Regular Expression not working in sed

Team, I have a file with data as mention below. Expected Output: I am using sed its not working . Please Let me know how to achieve the above mention output. Answer This might work for you (GNU sed): This method matches the numbers at the front of the string with strings appended to the end of the line and

Implement Nagios Topography to avoid over-alerting

How to Implement Nagios Topography to avoid over-alerting. Also how can we improve nagios performance to get avoided from fake alerts. Answer You can use host and service dependency definition in your configs. For example: dependent_service_description CPU Load These are the service that are dependent on the …

C NET-SNMP Get and Set specifically via MIB Name, Not OID

I have written and am testing software for a generic SNMP client module in C as well as an implementation using this generic module. I am having trouble getting a get request to work by passing in a MIB name(e.g. sysDescr) instead of an OID(e.g. 1.3.6.1.2.1.1.1). I am successful when I pass in a character arr…