Wowza Community

How to ping Wowza?

sometimes checking service status doesn’t return the correct status of Wowza, how to ping it or poll in order to check if it needs restart or not?

Hi Elie,

Thanks for reaching out via our Community Forum. Depending on the OS being used, you can use one of the following:

MacOS

ps aux | grep wowza

*Note: The above will return all running processes (PIDs) for the active user which contain ‘wowza’. The engine itself will be designated as

root             [PID_HERE]   2.0  3.7 19022900 1229264   ??  S     5:37AM   6:32.42 /usr/bin/java -Xmx10000M -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -server -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote=true -Dcom.wowza.wms.runmode=service -Dcom.wowza.wms.native.base=osx -Dcom.wowza.wms.AppHome=/Library/WowzaStreamingEngine -Dcom.wowza.wms.ConfigURL= -Dcom.wowza.wms.ConfigHome=/Library/WowzaStreamingEngine -cp /Library/WowzaStreamingEngine/bin/wms-bootstrap.jar com.wowza.wms.bootstrap.Bootstrap start

While the Engine Manager service will look like the following (it is quite long so I have truncated it)

root             49916   0.0  2.3 16292744 765320   ??  S     5:37AM   1:05.18 /usr/bin/java -cp :/Library/WowzaStreamingEngine/manager/lib/lib-jaxb/FastInfoset [...]

Linux

systemctl status WowzaStreamingEngine

Windows (Powershell)

get-process [ProcessName]

Thanks again and have a good day!

not sure if that would work because


  1. systemctl status WowzaStreamingEngine

would always return that wowza is running when it’s not, described the problem here

https://www.reddit.com/r/sysadmin/comments/e4x1lz/is_there_a_better_tool_than_service_to_know_if_a/

and I don’t have sytemctl btw, I using centos 6, it’s not accurate, I need to ping the server somehow


  1. service WowzaStreamingEngine status

Hi @Elie Obeid. the latest version of Engine, 4.7.8 requires CentOS 7. Not sure what version you are using, but wanted to make sure you knew that. We try to provide support in the forums for the latest version that we recommend everyone upgrade to, but feel feel to submit a support ticket for an issue related to an older version of Engine or CentOS 6.

This will avoid confusion for users as we get so much traffic to the forums and there were big changes in the latest Engine release.

The Transcoder feature in Wowza Streaming Engine 4.7.8 requires GNU C Library (glibc) 2.17 or later. CentOS 6 doesn’t support this minimum version of glibc. We recommend updating to CentOS 7 or using a different operating system if your workflow requires the Transcoder feature.

we have 5 clients in operations, 2 of them are running centos 7, as discussed on reddit even systemctl is a hit and miss, systemctl will detect wowza as running when it’s not due to having high traffic. I need a way to ping the server regardless of the OS.

Ok got it. Let me check with tech support. Be back in a minute…

@Elie Obeid, per tech support, you could do a wget to get the standard version url

wget -v -O - http://IPaddress:1935

–2019-12-03 15:50:36-- http://IpAddress:1935/,

Connecting to IPaddress:1935… connected.

HTTP request sent, awaiting response… 200 OK
Length: 206 [text/html]

Saving to: ‘STDOUT’- 0%[ ] 0 --.-KB/s < html>

Wowza Streaming Engine 4 Subscription Edition 9.9.9.99dc build2018112720XXXX

<bod - 100%[=============================================>] 206 --.-KB/s in 0s2019-12-03 15:50:36 (2.87 MB/s) - written to stdout [206/206]

It will then show the version and the output running each time, if it does not respond it is not working and please submit a ticket.

Alright thanks so much, will try that, this seems like the right answer.

Please be sure to let me know. I appreciate you being so active here in the forums and want to make sure you get the help you need. :slight_smile:

Of course! thank you so much, most probably will test it this weekend and let you know.